Class: OpenAI::Models::Responses::ResponseOutputText::Annotation::URLCitation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/responses/response_output_text.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, 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 OpenAI::Internal::Type::BaseModel

Instance Attribute Details

#end_indexInteger

The index of the last character of the URL citation in the message.

Returns:

  • (Integer)


102
# File 'lib/openai/models/responses/response_output_text.rb', line 102

required :end_index, Integer

#start_indexInteger

The index of the first character of the URL citation in the message.

Returns:

  • (Integer)


108
# File 'lib/openai/models/responses/response_output_text.rb', line 108

required :start_index, Integer

#titleString

The title of the web resource.

Returns:

  • (String)


114
# File 'lib/openai/models/responses/response_output_text.rb', line 114

required :title, String

#typeSymbol, :url_citation

The type of the URL citation. Always ‘url_citation`.

Returns:

  • (Symbol, :url_citation)


120
# File 'lib/openai/models/responses/response_output_text.rb', line 120

required :type, const: :url_citation

#urlString

The URL of the web resource.

Returns:

  • (String)


126
# File 'lib/openai/models/responses/response_output_text.rb', line 126

required :url, String