AI::OpenAI::OpenAIChatResponseMessage
Inherits JSON::Serializable < Struct < Value < Object
Message in response choice.
Constructors
new(pull : JSON::PullParser)
Sourcenew(role : String | Nil = nil, content : String | Nil = nil, tool_calls : Array(OpenAIChatResponseToolCall) | Nil = nil, annotations : Array(OpenAIChatAnnotation) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
annotations
Sourcecontent
Sourcerole
Sourcetool_calls
Source