class

OpenAI::AssistantToolsFunction

Inherits JSON::Serializable < Reference < Object

Constructors

new(type_value : AssistantToolsFunctionType = AssistantToolsFunctionType::Function, function : FunctionObject = FunctionObject.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

function
Source
function=(function : FunctionObject)
Source
type_value

The type of tool being defined: function

Source
type_value=(type_value : AssistantToolsFunctionType)

The type of tool being defined: function

Source