Class: OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem
- Defined in:
- lib/openai/models/responses/response_function_tool_call_output_item.rb
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#call_id ⇒ String
The unique ID of the function tool call generated by the model.
-
#id ⇒ String
The unique ID of the function call tool output.
-
#output ⇒ String
A JSON string of the output of the function tool call.
-
#status ⇒ Symbol, ...
The status of the item.
-
#type ⇒ Symbol, :function_call_output
The type of the function tool call output.
Instance Method Summary collapse
-
#initialize(id: , call_id: , output: , status: nil, type: :function_call_output) ⇒ Object
constructor
Some parameter documentations has been truncated, see ResponseFunctionToolCallOutputItem 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, 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(id: , call_id: , output: , status: nil, type: :function_call_output) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem for more details.
|
# File 'lib/openai/models/responses/response_function_tool_call_output_item.rb', line 38
|
Instance Attribute Details
#call_id ⇒ String
The unique ID of the function tool call generated by the model.
17 |
# File 'lib/openai/models/responses/response_function_tool_call_output_item.rb', line 17 required :call_id, String |
#id ⇒ String
The unique ID of the function call tool output.
11 |
# File 'lib/openai/models/responses/response_function_tool_call_output_item.rb', line 11 required :id, String |
#output ⇒ String
A JSON string of the output of the function tool call.
23 |
# File 'lib/openai/models/responses/response_function_tool_call_output_item.rb', line 23 required :output, String |
#status ⇒ Symbol, ...
The status of the item. One of ‘in_progress`, `completed`, or `incomplete`. Populated when items are returned via API.
36 |
# File 'lib/openai/models/responses/response_function_tool_call_output_item.rb', line 36 optional :status, enum: -> { OpenAI::Responses::ResponseFunctionToolCallOutputItem::Status } |
#type ⇒ Symbol, :function_call_output
The type of the function tool call output. Always ‘function_call_output`.
29 |
# File 'lib/openai/models/responses/response_function_tool_call_output_item.rb', line 29 required :type, const: :function_call_output |