class

OpenAI::CreateChatCompletionRequestWebSearchOptionsUserLocation

Inherits JSON::Serializable < Reference < Object

Approximate location parameters for the search.

Constructors

new(type_value : CreateChatCompletionRequestWebSearchOptionsUserLocationType = CreateChatCompletionRequestWebSearchOptionsUserLocationType::Approximate, approximate : WebSearchLocation = WebSearchLocation.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

approximate
Source
approximate=(approximate : WebSearchLocation)
Source
type_value

The type of location approximation. Always approximate.

Source
type_value=(type_value : CreateChatCompletionRequestWebSearchOptionsUserLocationType)

The type of location approximation. Always approximate.

Source