llm_chain::options

Function options_from_env

Source
pub fn options_from_env() -> Result<Options, VarError>
Expand description

Loads options from environment variables. Every option that can be easily understood from a string is avaliable the name of the option will be in upper snake case, that means that the option Opt::ApiKey has the environment variable LLM_CHAIN_API_KEY