Class: OpenAI::Models::Conversations::ConversationItem::Program
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Conversations::ConversationItem::Program
- Defined in:
- lib/openai/models/conversations/conversation_item.rb
Instance Attribute Summary collapse
-
#call_id ⇒ String
The stable call ID of the program item.
-
#code ⇒ String
The JavaScript source executed by programmatic tool calling.
-
#fingerprint ⇒ String
Opaque program replay fingerprint that must be round-tripped.
-
#id ⇒ String
The unique ID of the program item.
-
#type ⇒ Symbol, :program
The type of the item.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#call_id ⇒ String
The stable call ID of the program item.
221 |
# File 'lib/openai/models/conversations/conversation_item.rb', line 221 required :call_id, String |
#code ⇒ String
The JavaScript source executed by programmatic tool calling.
227 |
# File 'lib/openai/models/conversations/conversation_item.rb', line 227 required :code, String |
#fingerprint ⇒ String
Opaque program replay fingerprint that must be round-tripped.
233 |
# File 'lib/openai/models/conversations/conversation_item.rb', line 233 required :fingerprint, String |
#id ⇒ String
The unique ID of the program item.
215 |
# File 'lib/openai/models/conversations/conversation_item.rb', line 215 required :id, String |
#type ⇒ Symbol, :program
The type of the item. Always program.
239 |
# File 'lib/openai/models/conversations/conversation_item.rb', line 239 required :type, const: :program |