Skip to content

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.

ScenarioRecommendation
Chat nodesSelect Chat Completions or an OpenAI-compatible model
Knowledge base vectorizationUse an Embeddings model; do not enter a chat model
Retrieval rerankingUse a Rerank model and confirm the API path
Image understandingUse a multimodal model that supports image input
Batch tasksSet token quotas and concurrency separately to avoid affecting online conversations

Integration Steps ​

  1. Create a dedicated Token for the workflow platform.
  2. Select OpenAI Compatible or a custom model in the platform's model provider settings.
  3. Configure the chat, Embedding, and Rerank models separately.
  4. Verify each model with a single-node test.
  5. 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.