Actions13
Overview
The node "FastGPT" provides integration with an AI-powered customer service platform. Specifically, the operation "创建一个知识库" (Create a Knowledge Base) under the resource "知识库" (Knowledge) allows users to create a new knowledge base or folder within the system. This is useful for organizing and managing information repositories that can be used for AI-driven knowledge retrieval, customer support automation, or content management.
Typical use cases include:
- Creating a structured knowledge base to feed AI chatbots.
- Organizing documents or datasets into folders for better management.
- Automating the setup of knowledge repositories as part of a larger workflow.
Properties
| Name | Meaning |
|---|---|
| 类型 | The type of knowledge base to create. Options: 普通知识库 (dataset), 文件夹 (folder). |
| 名称 | The name of the knowledge base. This is a required string input. |
| 简介 | A brief introduction or description of the knowledge base. |
| 选项 | Additional options to customize the creation. |
| - 父级ID | The parent ID under which this knowledge base or folder will be created (optional). |
Output
The node outputs JSON data representing the newly created knowledge base or folder. This typically includes identifiers, metadata such as name, type, introduction, and hierarchical information like parent ID. The output can be used downstream in workflows to reference or manipulate the created knowledge base.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication with the FastGPT platform.
- The node uses a base URL configured in the credentials to send HTTP requests.
- No other external dependencies are explicitly required.
Troubleshooting
Common issues:
- Missing or invalid API credentials will cause authentication failures.
- Providing an empty or duplicate knowledge base name may result in errors from the API.
- Incorrect parent ID might lead to hierarchy errors or failure to create the knowledge base under the desired folder.
Error messages:
- Authentication errors: Verify that the API key credential is correctly set up.
- Validation errors: Ensure all required fields, especially the knowledge base name, are provided and valid.
- HTTP errors: Check network connectivity and the correctness of the base URL in credentials.
Links and References
- FastGPT Official Documentation (replace with actual URL if available)
- n8n Documentation on Creating Custom Nodes
- General API usage guidelines for AI knowledge bases and chatbots.