Anthropic::UserLocation
Inherits JSON::Serializable < Struct < Value < Object
User location for localized web search results
Constructors
new(pull : JSON::PullParser)
Sourcenew(city : String | Nil = nil, region : String | Nil = nil, country : String | Nil = nil, timezone : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
city
Sourcecountry
Sourceregion
Sourcetimezone
Sourcetype
Source