Class: Anthropic::Models::Beta::BetaCitationCharLocation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_citation_char_location.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Anthropic::Internal::Type::BaseModel

Instance Attribute Details

#cited_textString



10
# File 'lib/anthropic/models/beta/beta_citation_char_location.rb', line 10

required :cited_text, String

#document_indexInteger



15
# File 'lib/anthropic/models/beta/beta_citation_char_location.rb', line 15

required :document_index, Integer

#document_titleString?



20
# File 'lib/anthropic/models/beta/beta_citation_char_location.rb', line 20

required :document_title, String, nil?: true

#end_char_indexInteger



25
# File 'lib/anthropic/models/beta/beta_citation_char_location.rb', line 25

required :end_char_index, Integer

#file_idString?



30
# File 'lib/anthropic/models/beta/beta_citation_char_location.rb', line 30

required :file_id, String, nil?: true

#start_char_indexInteger



35
# File 'lib/anthropic/models/beta/beta_citation_char_location.rb', line 35

required :start_char_index, Integer

#typeSymbol, :char_location



40
# File 'lib/anthropic/models/beta/beta_citation_char_location.rb', line 40

required :type, const: :char_location