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
Some parameter documentations has been truncated, see RealtimeConversationItemFunctionCall for more details.
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
Some parameter documentations has been truncated, see OpenAI::Models::Realtime::RealtimeConversationItemFunctionCall for more details.
A function call item in a Realtime conversation.
|
|
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 53
|
Instance Attribute Details
#arguments ⇒ String
The arguments of the function call. This is a JSON-encoded string representing the arguments passed to the function, for example ‘“value1”, “arg2”: 42`.
13 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 13 required :arguments, String |
#call_id ⇒ String?
The ID of the function call.
38 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 38 optional :call_id, String |
#id ⇒ String?
The unique ID of the item. This may be provided by the client or generated by the server.
32 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 32 optional :id, String |
#name ⇒ String
The name of the function being called.
19 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 19 required :name, String |
#object ⇒ Symbol, ...
Identifier for the API object being returned - always ‘realtime.item`. Optional when creating a new item.
45 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 45 optional :object, enum: -> { OpenAI::Realtime::RealtimeConversationItemFunctionCall::Object } |
#status ⇒ Symbol, ...
The status of the item. Has no effect on the conversation.
51 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 51 optional :status, enum: -> { OpenAI::Realtime::RealtimeConversationItemFunctionCall::Status } |
#type ⇒ Symbol, :function_call
The type of the item. Always ‘function_call`.
25 |
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 25 required :type, const: :function_call |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/realtime/realtime_conversation_item_function_call.rb', line 83
|