Actions13
Overview
This node, named "FastGPT," integrates with an AI customer service platform and supports multiple resources including conversations (chat), knowledge bases, and datasets. Specifically, for the "知识库" (Knowledge Base) resource, it allows operations such as deleting a knowledge base entry.
The "删除一个知识库" (Delete a Knowledge Base) operation enables users to remove a specific knowledge base by its ID. This is useful in scenarios where outdated or irrelevant knowledge entries need to be cleaned up to maintain the accuracy and relevance of the knowledge base used by the AI system.
Practical example: A customer support team uses this node to programmatically delete obsolete knowledge base articles that no longer apply after a product update, ensuring the AI assistant only references current information.
Properties
| Name | Meaning |
|---|---|
| 知识库ID | The unique identifier of the knowledge base to delete. This value is sent as a query parameter named id. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this would include confirmation of deletion or any error messages returned by the API. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authentication with the FastGPT AI customer service platform.
- The base URL for API requests is configured via credentials.
- The node sends HTTP requests to the platform's API endpoints, specifically using query parameters to specify the knowledge base ID for deletion.
Troubleshooting
Common issues:
- Providing an invalid or non-existent knowledge base ID will likely result in an error response from the API.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Errors related to authorization typically indicate missing or invalid API keys; verify credentials.
- Errors indicating the knowledge base ID was not found suggest checking the correctness of the provided ID.
- HTTP status errors are ignored by default (
ignoreHttpStatusErrors: true), so the node may return error details in the JSON output rather than throwing exceptions.
Links and References
- No direct external links are provided in the source code.
- For more information, consult the FastGPT AI customer service platform API documentation (not included here).