DocumentationBuilding AI Applications
Building and Deploying AI Applications
Quickly build various open-source chat clients or web applications with MoleAPI.
Building and Integrating AI Applications
Want to integrate world-class AI capabilities into your own application? With MoleAPI, you can deploy several mainstream open-source clients with zero code changes at any time.
Prerequisites
- Register a MoleAPI account and generate a Token:
sk-xxxxxx - Get the API endpoint prefix (Base URL):
https://api.moleapi.com/v1
Integrating Common Open-Source Projects
1. NextChat (ChatGPT-Next-Web)
NextChat is a very lightweight cross-platform client.
Deployment environment variables:
BASE_URL=https://api.moleapi.com
OPENAI_API_KEY=sk-你的MoleAPI令牌
# Users visiting the site can also enter this information directly in their "Settings".2. LobeChat
LobeChat offers an extremely rich feature set and plugin ecosystem.
Deployment environment variables:
OPENAI_PROXY_URL=https://api.moleapi.com/v1
OPENAI_API_KEY=sk-你的MoleAPI令牌3. Dify or FastGPT (Knowledge Base Setup)
If you need to build an enterprise-grade knowledge base or workflow application: Go to the Dify/FastGPT admin dashboard and configure the model provider:
- Provider Type: OpenAI or custom OpenAI-compatible
- Model Type:
LLM/Text Embedding - Model Name:
gpt-4o/text-embedding-3-large - Base URL:
https://api.moleapi.com/v1 - API Key:
sk-你的MoleAPI令牌
How is this guide?
Last updated on