View Source ExOpenAi.Config (ex_open_ai v0.1.0)
Stores the configuration for the ExOpenAi client.
All settings also accept {:system, "ENV_VAR_NAME"}
to read their
values from environment variables at runtime
Link to this section Summary
Functions
Returns the api_key, set it in mix.exs
A wrapper around Application.get_env/2
, providing automatic support for {:system, "VARIABLE"}
.
Returns the organization, set it in mix.exs
Link to this section Functions
Returns the api_key, set it in mix.exs
config :ex_open_ai, api_key: "API_KEY"
A wrapper around Application.get_env/2
, providing automatic support for {:system, "VARIABLE"}
.
Returns the organization, set it in mix.exs
config :ex_open_ai, organization: "ORGANIZATION"