OpenAI
Leveraging OpenAI within Lakehousecat provides AI capabilities for Chat and Speech-to-Text (STT) tasks. This page describes how to configure OpenAI as a Provider Model.
Prerequisites
- Access to Lakehousecat as an Administrator
- An active OpenAI API Key
Configuration
Navigate to Workspace → Models → Provider Models and click the + icon.
Step 1: Select Provider Type
From the Provider Type dropdown, select OpenAI.
Step 2: Select Model Type
Choose the appropriate model type:
| Model Type | Description |
|---|---|
| Chat | Conversational AI (e.g. gpt-4o, gpt-4-turbo) |
| STT | Speech-to-Text (e.g. whisper-1) |
Step 3: Enter Configuration Details
| Field | Description |
|---|---|
| Configuration Name | A unique name for this configuration (e.g. openai-gpt4o-chat). |
| API Key | Your OpenAI API key. Required for authentication. |
| Model ID | Select the specific model from the dropdown (e.g. gpt-4o). |
| Base URL (optional) | Override the default OpenAI API base URL if using a custom endpoint. |
Step 4: Save
Click Save. After saving, you can optionally set this configuration as the default UI model or default Backend model.
Best Practices
- Use a descriptive configuration name that includes the model name and type.
- Separate configurations for Chat and STT allow independent management of each capability.
Troubleshooting
- Validation Errors: Verify the API Key for accuracy.
- Model Access Issues: Ensure your OpenAI account has access to the selected model.