Workflows and Knowledge Bases
Platforms such as Dify, FastGPT, Coze, n8n, Flowise, LangChain, and LlamaIndex can connect to CloudAIKit through OpenAI-compatible APIs. Workflow tools typically use chat models, Embeddings, Rerank, and file capabilities at the same time. Before configuring them, confirm which model each node actually calls.
Recommended Configuration
| Scenario | Recommendation |
|---|---|
| Chat nodes | Select Chat Completions or an OpenAI-compatible model |
| Knowledge base vectorization | Use an Embeddings model; do not enter a chat model |
| Retrieval reranking | Use a Rerank model and confirm the API path |
| Image understanding | Use a multimodal model that supports image input |
| Batch tasks | Set token quotas and concurrency separately to avoid affecting online conversations |
Integration Steps
- Create a dedicated Token for the workflow platform.
- Select OpenAI Compatible or a custom model in the platform's model provider settings.
- Configure the chat, Embedding, and Rerank models separately.
- Verify each model with a single-node test.
- Then run the complete workflow and monitor the Request ID, model, usage, and errors in the logs.
Knowledge Base Notes
Common causes of knowledge base failures include entering a chat model in the Embedding node, files being too large, document parsing failures, inconsistent vector dimensions, the platform node caching an old Key, or the current user group not having permission to use the Embedding model.
Identifying the Source of the Problem
If the same request succeeds when called with cURL but fails in the workflow, the issue is usually related to third-party platform configuration or node parameters. If the same model also fails in the CloudAIKit logs, continue checking the Token and model, or send us the error logs and screenshots.
When troubleshooting a knowledge base, first test the Embeddings node separately, then test the retrieval and chat nodes. This helps distinguish among “vector generation failed,” “retrieval returned no results,” and “the response model failed.”
Building Workflows
If you need help building or using a third-party workflow platform, please contact us.
