OpenAI::CreateChatCompletionRequestWebSearchOptionsUserLocation
Inherits JSON::Serializable < Reference < Object
Approximate location parameters for the search.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : CreateChatCompletionRequestWebSearchOptionsUserLocationType = CreateChatCompletionRequestWebSearchOptionsUserLocationType::Approximate, approximate : WebSearchLocation = WebSearchLocation.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
approximate
Sourceapproximate=(approximate : WebSearchLocation)
Sourcetype_value=(type_value : CreateChatCompletionRequestWebSearchOptionsUserLocationType)
The type of location approximation. Always approximate.