Actions13
Overview
The node "FastGPT" integrates with an AI-powered customer service platform, providing various operations related to conversations, knowledge bases, and datasets. Specifically, for the Resource "集合" (dataset) and Operation "获取集合列表" (Get Dataset List), the node retrieves a paginated list of dataset collections from the FastGPT platform. This is useful for users who want to programmatically browse or manage their dataset collections within FastGPT, such as listing all datasets under a specific parent folder or searching datasets by text.
Practical examples include:
- Fetching all dataset collections under a particular directory to display in a custom UI.
- Searching datasets by keywords to find relevant collections quickly.
- Paginating through large numbers of datasets to process or analyze them in batches.
Properties
| Name | Meaning |
|---|---|
| 父级目录ID | The ID of the parent folder in FastGPT. Used to specify which folder's datasets to list. |
| 选择知识库 | Select a knowledge base from available options loaded dynamically based on the parent folder ID. |
| 页码 | Page number for pagination; specifies which page of dataset results to retrieve. |
| 每页数量 | Number of datasets to return per page; controls the size of each page in the result set. |
| 模糊搜索文本 | Text string used for fuzzy searching datasets by name or content. |
Output
The node outputs JSON data containing the list of dataset collections matching the specified criteria (parent folder, search text, pagination). Each item in the output typically includes dataset metadata such as its ID, name, type, and other relevant properties.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating requests to the FastGPT platform.
- The node sends HTTP POST requests to FastGPT endpoints, using the base URL configured in the credentials.
- Dynamic loading of knowledge base options depends on the parent folder ID property.
Troubleshooting
- Empty results: Ensure the parent folder ID is correct and that datasets exist under it.
- Authentication errors: Verify that the API key credential is valid and has necessary permissions.
- Pagination issues: Check that page number and page size are positive integers; invalid values may cause unexpected results.
- Search not working: Confirm that the search text is correctly entered; empty or incorrect strings may yield no matches.
- Network errors: Make sure the base URL in credentials is reachable and the FastGPT service is operational.
Links and References
- FastGPT Official Documentation (replace with actual URL)
- n8n HTTP Request Node documentation for understanding request defaults and routing: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/