Class: OpenAI::Models::Responses::InlineSkill
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::InlineSkill
- Defined in:
- lib/openai/models/responses/inline_skill.rb
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the skill.
-
#name ⇒ String
The name of the skill.
-
#source ⇒ OpenAI::Models::Responses::InlineSkillSource
Inline skill payload.
-
#type ⇒ Symbol, :inline
Defines an inline skill for this request.
Instance Method Summary collapse
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(description:, name:, source:, type: :inline) ⇒ Object
|
|
# File 'lib/openai/models/responses/inline_skill.rb', line 31
|
Instance Attribute Details
#description ⇒ String
The description of the skill.
11 |
# File 'lib/openai/models/responses/inline_skill.rb', line 11 required :description, String |
#name ⇒ String
The name of the skill.
17 |
# File 'lib/openai/models/responses/inline_skill.rb', line 17 required :name, String |
#source ⇒ OpenAI::Models::Responses::InlineSkillSource
Inline skill payload
23 |
# File 'lib/openai/models/responses/inline_skill.rb', line 23 required :source, -> { OpenAI::Responses::InlineSkillSource } |
#type ⇒ Symbol, :inline
Defines an inline skill for this request.
29 |
# File 'lib/openai/models/responses/inline_skill.rb', line 29 required :type, const: :inline |