View Source ExOpenAI.Components.ApproximateLocation (ex_openai.ex v2.0.0-beta2)

Module for representing the OpenAI schema ApproximateLocation.

Fields

  • :city - optional - String.t() | any()

  • :country - optional - String.t() | any()

  • :region - optional - String.t() | any()

  • :timezone - optional - String.t() | any()

  • :type - required - :approximate
    The type of location approximation. Always approximate.
    Allowed values: "approximate"
    Default: "approximate"

Summary

Types

@type t() :: %ExOpenAI.Components.ApproximateLocation{
  city: (String.t() | any()) | nil,
  country: (String.t() | any()) | nil,
  region: (String.t() | any()) | nil,
  timezone: (String.t() | any()) | nil,
  type: :approximate
}