Class: OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::Annotation::File
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::Annotation::File
- Defined in:
- lib/openai/models/beta/chatkit/chatkit_response_output_text.rb
Defined Under Namespace
Classes: Source
Instance Attribute Summary collapse
-
#source ⇒ OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::Annotation::File::Source
File attachment referenced by the annotation.
-
#type ⇒ Symbol, :file
Type discriminator that is always ‘file` for this annotation.
Instance Method Summary collapse
-
#initialize(source:, type: :file) ⇒ Object
constructor
Annotation that references an uploaded file.
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(source:, type: :file) ⇒ Object
Annotation that references an uploaded file.
|
|
# File 'lib/openai/models/beta/chatkit/chatkit_response_output_text.rb', line 61
|
Instance Attribute Details
#source ⇒ OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::Annotation::File::Source
File attachment referenced by the annotation.
53 |
# File 'lib/openai/models/beta/chatkit/chatkit_response_output_text.rb', line 53 required :source, -> { OpenAI::Beta::ChatKit::ChatKitResponseOutputText::Annotation::File::Source } |
#type ⇒ Symbol, :file
Type discriminator that is always ‘file` for this annotation.
59 |
# File 'lib/openai/models/beta/chatkit/chatkit_response_output_text.rb', line 59 required :type, const: :file |