struct
AI::OpenAI::OpenAIChatFunctionDefinition
- AI::OpenAI::OpenAIChatFunctionDefinition
- Struct
- Value
- Object
Overview
Function definition in tool.
Included Modules
- JSON::Serializable
Defined in:
ai/openai/chat/openai_chat_api.crConstructors
- .new(name : String, description : String | Nil, parameters : JSON::Any, strict : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
Constructor Detail
def self.new(name : String, description : String | Nil, parameters : JSON::Any, strict : Bool | Nil = nil)
#