Class: OpenAI::Models::Realtime::RealtimeConversationItemFunctionCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::RealtimeConversationItemFunctionCall
- Defined in:
- lib/openai/models/realtime/realtime_conversation_item_function_call.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#arguments ⇒ String
The arguments of the function call.
-
#call_id ⇒ String?
The ID of the function call.
-
#id ⇒ String?
The unique ID of the item.
-
#name ⇒ String
The name of the function being called.
-
#object ⇒ Symbol, ...
Identifier for the API object being returned - always ‘realtime.item`.
-
#status ⇒ Symbol, ...
The status of the item.
-
#type ⇒ Symbol, :function_call
The type of the item.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arguments: , name: , id: nil, call_id: nil, object: nil, status: nil, type: :function_call) ⇒ Object
constructor
A function call item in a Realtime conversation.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(arguments: , name: , id: nil, call_id: nil, object: nil, status: nil, type: :function_call) ⇒ Object
A function call item in a Realtime conversation.
|
|
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 49
|
Instance Attribute Details
#arguments ⇒ String
The arguments of the function call.
11 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 11 required :arguments, String |
#call_id ⇒ String?
The ID of the function call.
35 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 35 optional :call_id, String |
#id ⇒ String?
The unique ID of the item.
29 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 29 optional :id, String |
#name ⇒ String
The name of the function being called.
17 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 17 required :name, String |
#object ⇒ Symbol, ...
Identifier for the API object being returned - always ‘realtime.item`.
41 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 41 optional :object, enum: -> { OpenAI::Realtime::RealtimeConversationItemFunctionCall::Object } |
#status ⇒ Symbol, ...
The status of the item. Has no effect on the conversation.
47 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 47 optional :status, enum: -> { OpenAI::Realtime::RealtimeConversationItemFunctionCall::Status } |
#type ⇒ Symbol, :function_call
The type of the item. Always ‘function_call`.
23 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 23 required :type, const: :function_call |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 74
|