Class: OpenAI::Models::Beta::HostedSkillReference
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::HostedSkillReference
- Defined in:
- lib/openai/models/beta/hosted_skill_reference.rb,
sig/openai/models/beta/hosted_skill_reference.rbs
Instance Attribute Summary collapse
-
#description ⇒ String
The installed skill description.
-
#name ⇒ String
The installed skill name.
-
#skill_id ⇒ String
The referenced skill ID.
-
#type ⇒ Symbol, :skill_reference
The type of the object.
-
#version ⇒ String
The concrete skill version installed for this session.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(description:, name:, skill_id:, version:, type: :skill_reference) ⇒ Object
constructor
A skill installed from the Skills API.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(description:, name:, skill_id:, version:, type: :skill_reference) ⇒ Object
A skill installed from the Skills API.
|
|
# File 'lib/openai/models/beta/hosted_skill_reference.rb', line 37
|
Instance Attribute Details
#description ⇒ String
The installed skill description.
11 |
# File 'lib/openai/models/beta/hosted_skill_reference.rb', line 11 required :description, String |
#name ⇒ String
The installed skill name.
17 |
# File 'lib/openai/models/beta/hosted_skill_reference.rb', line 17 required :name, String |
#skill_id ⇒ String
The referenced skill ID.
23 |
# File 'lib/openai/models/beta/hosted_skill_reference.rb', line 23 required :skill_id, String |
#type ⇒ Symbol, :skill_reference
The type of the object. Always skill_reference.
29 |
# File 'lib/openai/models/beta/hosted_skill_reference.rb', line 29 required :type, const: :skill_reference |
#version ⇒ String
The concrete skill version installed for this session.
35 |
# File 'lib/openai/models/beta/hosted_skill_reference.rb', line 35 required :version, String |
Instance Method Details
#to_hash ⇒ {
32 |
# File 'sig/openai/models/beta/hosted_skill_reference.rbs', line 32
def to_hash: -> {
|