Module: OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::Annotation
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/beta/chatkit/chatkit_response_output_text.rb,
sig/openai/models/beta/chatkit/chatkit_response_output_text.rbs
Overview
Annotation object describing a cited source.
Defined Under Namespace
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filename:, type: :file) ⇒ Object
File attachment referenced by the annotation.
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Class Method Details
.variants ⇒ ::Array[OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::annotation]
141 |
# File 'sig/openai/models/beta/chatkit/chatkit_response_output_text.rbs', line 141
def self?.variants: -> ::Array[OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::annotation]
|
Instance Method Details
#initialize(filename:, type: :file) ⇒ Object
File attachment referenced by the annotation.
|
|
# File 'lib/openai/models/beta/chatkit/chatkit_response_output_text.rb', line 89
|