Class: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::URLCitation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::URLCitation
- Defined in:
- lib/openai/models/beta/beta_response_input_item.rb,
sig/openai/models/beta/beta_response_input_item.rbs
Instance Attribute Summary collapse
-
#end_index ⇒ Integer
The index of the last character of the citation in the message.
-
#start_index ⇒ Integer
The index of the first character of the citation in the message.
-
#title ⇒ String
The title of the cited resource.
-
#type ⇒ :url_citation
The citation type.
-
#url ⇒ String
The URL of the cited resource.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ URLCitation
constructor
A new instance of URLCitation.
- #to_hash ⇒ { end_index: Integer, start_index: Integer, title: String, ?type: :url_citation, url: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ URLCitation
Returns a new instance of URLCitation.
860 861 862 863 864 865 866 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 860
def initialize: (
end_index: Integer,
start_index: Integer,
title: String,
url: String,
?type: :url_citation
) -> void
|
Instance Attribute Details
#end_index ⇒ Integer
The index of the last character of the citation in the message.
975 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 975 required :end_index, Integer |
#start_index ⇒ Integer
The index of the first character of the citation in the message.
981 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 981 required :start_index, Integer |
#title ⇒ String
The title of the cited resource.
987 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 987 required :title, String |
#type ⇒ :url_citation
The citation type. Always url_citation.
993 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 993 required :type, const: :url_citation |
#url ⇒ String
The URL of the cited resource.
999 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 999 required :url, String |
Instance Method Details
#to_hash ⇒ { end_index: Integer, start_index: Integer, title: String, ?type: :url_citation, url: String }
868 869 870 871 872 873 874 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 868
def to_hash: -> {
end_index: Integer,
start_index: Integer,
title: String,
?type: :url_citation,
url: String
}
|