Function tokio_openai::openai_key

source ·
pub fn openai_key() -> Result<String>
Expand description

Grab the OpenAI key from the environment

Errors

Will return Err if the key OPENAI_KEY does not exist