Functions
| Function | Description |
|---|---|
openai.client(api_key) | Create an OpenAI client |
openai.initialize(api_key) | Alias for client |
Client Methods
| Method | Description |
|---|---|
client.ask(prompt) | Send a prompt, get a response string |
client.ask(prompt, model) | Specify the model ("gpt-4o", "gpt-4o-mini", etc.) |