Custom Service Provider
Last updated
Last updated
Lemon not only integrates with mainstream AI model services, but also gives you powerful customization capabilities. Through the custom AI service provider function, you can easily access any AI model you need.
Flexibility: No longer limited by the preset list of service providers, you can freely choose the AI model that best suits your needs.
Diversity: Experiment with AI models across different platforms to discover their unique strengths.
Controllability: directly manage your API keys and access addresses to ensure security and privacy.
Customization: Access the model of privatization deployment to meet the needs of specific business scenarios.
In just a few simple steps, you can add your custom AI service provider in Lemon:
Open Settings: In the Lemon task area, click Settings (the gear icon).
Enter the model service: On the Settings page, select the Model Service tab.
Add Provider: On the Model Services page, you will see a list of existing service providers. Click the "+ Add" button at the bottom of the list to open the "Add Provider" pop-up window.
Fill in the information: in the pop-up window, you need to fill in the following information:
Provider Name: Create an easy-to-identify name for your custom service provider (for example, MyCustomOpenAI).
Provider Type: Select your service provider type from the drop-down list. Currently supported:
OpenAI
Gemini
Anthropic
Azure OpenAI
Save the configuration: After completing the filling, click the "Confirm" button to save your configuration.
After the addition is complete, you need to find the service provider you just added in the list and configure it in detail:
There is an enable switch on the far right of the Enabled status custom service provider list, which means that the custom service is enabled.
API key:
Fill in the API Key provided by your AI service provider.
API address:
Enter the API access address (Base URL) of the AI service.
Please refer to the official documentation provided by your AI service provider to obtain the correct API address.
Model management:
Click the + add button to manually add the model ID you want to use under this provider. For instanceDeepSeek-V3-0324
,gpt-4o mini
Wait.
If you are not sure about the specific model name, see the official documentation provided by your AI service provider.
Click the "-" button to edit or delete the added model.
Set Default Model
After configuring the custom AI service provider and model, you need to set the default model in the default model tab and select the model of the custom service provider.
After completing the above configuration, you can start a dialogue with AI in the task interface of Lemon!