Class: OpenAI::Models::Chat::CompletionCreateParams::WebSearchOptions::UserLocation::Approximate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Chat::CompletionCreateParams::WebSearchOptions::UserLocation::Approximate
- Defined in:
- lib/openai/models/chat/completion_create_params.rb
Overview
Instance Attribute Summary collapse
-
#city ⇒ String?
Free text input for the city of the user, e.g.
-
#country ⇒ String?
The two-letter ISO country code of the user, e.g.
-
#region ⇒ String?
Free text input for the region of the user, e.g.
-
#timezone ⇒ String?
The IANA timezone of the user, e.g.
Instance Method Summary collapse
-
#initialize(city: nil, country: nil, region: nil, timezone: nil) ⇒ void
constructor
Some parameter documentations has been truncated, see Approximate for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #dump, dump, inspect, #inspect, 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
#initialize(city: nil, country: nil, region: nil, timezone: nil) ⇒ void
Some parameter documentations has been truncated, see OpenAI::Models::Chat::CompletionCreateParams::WebSearchOptions::UserLocation::Approximate for more details.
Approximate location parameters for the search.
|
# File 'lib/openai/models/chat/completion_create_params.rb', line 724
|
Instance Attribute Details
#city ⇒ String?
Free text input for the city of the user, e.g. San Francisco
.
702 |
# File 'lib/openai/models/chat/completion_create_params.rb', line 702 optional :city, String |
#country ⇒ String?
The two-letter ISO country code of
the user, e.g. US
.
709 |
# File 'lib/openai/models/chat/completion_create_params.rb', line 709 optional :country, String |
#region ⇒ String?
Free text input for the region of the user, e.g. California
.
715 |
# File 'lib/openai/models/chat/completion_create_params.rb', line 715 optional :region, String |
#timezone ⇒ String?
The IANA timezone of the
user, e.g. America/Los_Angeles
.
722 |
# File 'lib/openai/models/chat/completion_create_params.rb', line 722 optional :timezone, String |