Function openai_init

Source
pub fn openai_init(key: &str)
Expand description

Initializes the OpenAI client with the given API key. This must be called before any API functions.