OpenAI::RealtimeConversationItemFunctionCallOutput
Inherits JSON::Serializable < Reference < Object
A function call output item in a Realtime conversation.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String | Nil = nil, object : RealtimeConversationItemFunctionCallOutputObject | Nil = nil, type_value : RealtimeConversationItemFunctionCallOutputType = RealtimeConversationItemFunctionCallOutputType::FunctionCallOutput, status : RealtimeConversationItemFunctionCallOutputStatus | Nil = nil, call_id : String = "", output : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
The unique ID of the item. This may be provided by the client or generated by the server.
object
Identifier for the API object being returned - always realtime.item. Optional when creating a new item.
object=(object : RealtimeConversationItemFunctionCallOutputObject | Nil)
Identifier for the API object being returned - always realtime.item. Optional when creating a new item.
output
The output of the function call, this is free text and can contain any information or simply be empty.
output=(output : String)
The output of the function call, this is free text and can contain any information or simply be empty.
status=(status : RealtimeConversationItemFunctionCallOutputStatus | Nil)
The status of the item. Has no effect on the conversation.
type_value=(type_value : RealtimeConversationItemFunctionCallOutputType)
The type of the item. Always function_call_output.