Using Azure OpenAI in LobeVidol
This document will guide you on how to use the Azure OpenAI service in LobeVidol. Azure OpenAI is an enterprise-level AI service provided by Microsoft, offering powerful models similar to OpenAI but with enhanced security and reliability guarantees.
Prerequisites
Before you begin, please ensure that:- You have an Azure account.
- You have obtained access to the Azure OpenAI service.
- You have deployed at least one AI model.
Detailed Steps
1. Obtain Azure OpenAI API Key
First, you need to obtain the API key and endpoint for Azure OpenAI:- Visit the Azure OpenAI Service Portal.
- If you haven’t registered yet, complete the registration process.
- Go to the
Deploymentspage and create a new deployment using your chosen model.- It is recommended to use the
gpt-4orgpt-35-turbomodel. - Note down the deployment name, as it will be needed for later configuration.
- It is recommended to use the
- Navigate to the
Chatpage and clickView Codeto obtain:- API endpoint URL
- API key
2. Configure in LobeVidol
Once you have the necessary information, follow these steps to complete the configuration in LobeVidol:- Open LobeVidol and go to the
Settingspage. - Find the
Language Modelsection. - Select the
Azure OpenAItab. - Fill in the following information:
- API key
- API endpoint
- Deployment name (optional)
- Choose the Azure OpenAI model you want to use.
- Click save to complete the configuration.
Notes
Using the Azure OpenAI service incurs costs. Please refer to the Azure OpenAI Pricing Page for specific pricing details.
- Ensure your Azure subscription has sufficient quota.
- Regularly check API usage to avoid exceeding your budget.
- Keep your API key secure and do not disclose it to others.
Frequently Asked Questions
What should I do if the API connection fails?
- Check if the API key is entered correctly.
- Confirm that the endpoint URL format is correct.
- Verify that the deployment name matches what is in the Azure portal.
How can I switch between different models?
In the model selection dropdown menu on the settings page, you can switch to other deployed Azure OpenAI models at any time.How is billing handled?
Azure OpenAI uses a pay-as-you-go billing model, with specific rates depending on:- The selected model
- The number of API calls
- The number of tokens processed

