Class: OpenAI::Models::Responses::ResponseOutputText::Annotation::URLCitation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseOutputText::Annotation::URLCitation
- Defined in:
- lib/openai/models/responses/response_output_text.rb
Instance Attribute Summary collapse
-
#end_index ⇒ Integer
The index of the last character of the URL citation in the message.
-
#start_index ⇒ Integer
The index of the first character of the URL citation in the message.
-
#title ⇒ String
The title of the web resource.
-
#type ⇒ Symbol, :url_citation
The type of the URL citation.
-
#url ⇒ String
The URL of the web resource.
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_index ⇒ Integer
The index of the last character of the URL citation in the message.
106 |
# File 'lib/openai/models/responses/response_output_text.rb', line 106 required :end_index, Integer |
#start_index ⇒ Integer
The index of the first character of the URL citation in the message.
112 |
# File 'lib/openai/models/responses/response_output_text.rb', line 112 required :start_index, Integer |
#title ⇒ String
The title of the web resource.
118 |
# File 'lib/openai/models/responses/response_output_text.rb', line 118 required :title, String |
#type ⇒ Symbol, :url_citation
The type of the URL citation. Always ‘url_citation`.
124 |
# File 'lib/openai/models/responses/response_output_text.rb', line 124 required :type, const: :url_citation |
#url ⇒ String
The URL of the web resource.
130 |
# File 'lib/openai/models/responses/response_output_text.rb', line 130 required :url, String |