FastGPT icon

FastGPT

AI智能客服平台

Overview

The node "FastGPT" integrates with an AI customer service platform, providing various operations related to conversations (chat), knowledge bases, and datasets. Specifically, the operation "获取知识库列表" (Get Knowledge Base List) under the "知识库" (Knowledge Base) resource retrieves a list of knowledge bases. This is useful for scenarios where users want to fetch existing knowledge bases to display, manage, or use them as part of an AI-driven support system.

Practical examples include:

  • Displaying all available knowledge bases in a user interface.
  • Fetching knowledge bases to select one for further querying or updating.
  • Integrating knowledge base data into workflows that automate customer support or content management.

Properties

Name Meaning
选项 Additional options to customize the request.
父级ID The parent ID to filter knowledge bases by their parent. If provided, only child knowledge bases under this parent will be listed.

Note: The "选项" property is a collection that currently supports the single option "父级ID" (Parent ID).

Output

The node outputs JSON data representing the list of knowledge bases retrieved from the AI platform. Each item in the output typically contains details about a knowledge base such as its ID, name, description, and possibly hierarchical information if parent-child relationships exist.

If the node supports binary data output, it would represent associated files or attachments related to knowledge bases, but based on the provided code and properties, the primary output is structured JSON data listing knowledge bases.

Dependencies

  • Requires an API key credential for authentication with the FastGPT AI platform.
  • The base URL for API requests is configured via credentials.
  • No other external dependencies are indicated.

Troubleshooting

  • Common issues:

    • Missing or invalid API credentials can cause authentication failures.
    • Providing an incorrect or non-existent parent ID may result in empty lists or errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors typically indicate invalid or missing API keys; verify credentials.
    • HTTP errors might occur if the base URL is misconfigured; ensure the correct endpoint is set.
    • Empty results may mean no knowledge bases exist under the specified parent ID; try omitting the parent ID to retrieve all.

Links and References

Discussion