Actions8
Listar Bases de Conhecimento
AI-generatedOverview
This node manages knowledge bases for ElevenLabs agents, allowing users to create, retrieve, update, delete, and list knowledge bases as well as manage documents within those bases. It is particularly useful for organizing and maintaining structured information repositories that can be leveraged by conversational AI or other intelligent systems.
Common scenarios include:
- Creating a new knowledge base to store domain-specific information.
- Listing all existing knowledge bases to select one for further operations.
- Adding documents (via URLs) to enrich the knowledge base content.
- Retrieving details of a specific knowledge base.
- Updating metadata such as the name or description of a knowledge base.
- Removing outdated or irrelevant documents from a knowledge base.
Practical example: A customer support chatbot could use this node to maintain an up-to-date knowledge base of FAQs and product manuals, adding new documents as they become available and removing obsolete ones.
Properties
| Name | Meaning |
|---|---|
| Opções Avançadas | Collection of optional advanced settings when adding documents: |
| - Nome Personalizado do Documento | Custom name for the document when adding it to the knowledge base. |
| - Espaço de Nomes | Namespace to organize documents logically within the knowledge base. |
Note: The above properties are part of the "advancedOptions" collection used specifically in the "addDocuments" operation.
The node also supports these key input properties relevant to the "Listar Bases de Conhecimento" operation:
| Name | Meaning |
|---|---|
| operation | The action to perform; here it is fixed to "listKnowledgeBases" to list all knowledge bases. |
Output
The output JSON contains the response data from the ElevenLabs API corresponding to the requested operation. For the "Listar Bases de Conhecimento" operation, the output will be a list of knowledge bases with their details such as IDs, names, descriptions, and possibly other metadata provided by the API.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for ElevenLabs API authentication.
- Uses internal helper functions to build request options and handle API requests.
- Relies on the ElevenLabs conversational knowledge base REST API endpoints.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing incorrect knowledge base IDs or document IDs will result in not found errors.
- Network connectivity problems may cause request timeouts or failures.
Error messages:
- Errors returned by the ElevenLabs API are caught and formatted by the node’s error handler.
- Typical errors include unauthorized access, resource not found, or invalid parameters.
Resolution tips:
- Verify that the API key credential is correctly configured and has necessary permissions.
- Double-check IDs and URLs used in the node parameters.
- Ensure network access to the ElevenLabs API endpoint.
Links and References
- ElevenLabs official API documentation (for knowledge base management):
(Not provided in source code; please refer to ElevenLabs developer portal)