Module: OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText::Annotation

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/chatkit/chatkit_response_output_text.rb

Overview

Annotation object describing a cited source.

Defined Under Namespace

Classes: File, URL

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

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, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(filename:, type: :file) ⇒ Object

File attachment referenced by the annotation.

Parameters:

  • filename (String)

    Filename referenced by the annotation.

  • type (Symbol, :file) (defaults to: :file)

    Type discriminator that is always ‘file`.



# File 'lib/openai/models/beta/chatkit/chatkit_response_output_text.rb', line 82