Azure OpenAI API
How to Integrate Azure OpenAI API with Jan
This guide provides step-by-step instructions for integrating the Azure OpenAI API with Jan, allowing users to utilize Azure's capabilities within Jan's conversational interface.
Integration Steps
Step 1: Configure OpenAI API Key
- Obtain OpenAI API Key from your OpenAI Platform (opens in a new tab) dashboard.
- Copy your OpenAI Key and the endpoint URL you want to use.
- Navigate to the Jan app > Settings.
- Select the OpenAI.
The OpenAI fields can be used for any OpenAI-compatible API.
- Insert the API Key and the endpoint URL into their respective fields.
You can also manually edit the JSON file in ~/jan/settings/@janhq/inference-openai-extension
.
Step 2: Start Chatting with the Model
- Navigate to the Hub section.
- Select the OpenAI model you want to use.
- Specify the model's parameters.
- Start the conversation with the OpenAI model.
Troubleshooting
If you encounter any issues during the integration process or while using OpenAI with Jan, consider the following troubleshooting steps:
- Double-check your API credentials to ensure they are correct.
- Check for error messages or logs that may provide insight into the issue.
- Reach out to Azure OpenAI API support for assistance if needed.