ElevenLabs Knowledge Base icon

ElevenLabs Knowledge Base

Gerencie bases de conhecimento para os agentes da ElevenLabs

Obter Base de Conhecimento

AI-generated

Overview

This node manages knowledge bases for ElevenLabs agents, allowing users to create, retrieve, update, delete knowledge bases, and manage documents within them. It is useful in scenarios where you want to organize, maintain, or query structured information repositories that support conversational AI or other intelligent agent workflows.

Practical examples include:

  • Creating a new knowledge base to store company FAQs.
  • Retrieving details of an existing knowledge base to display metadata.
  • Adding documents (via URLs) to enrich the knowledge base content.
  • Listing all documents within a knowledge base to audit or review contents.
  • Removing outdated or irrelevant documents from a knowledge base.

Properties

Name Meaning
ID da Base de Conhecimento The unique identifier of the knowledge base to operate on. Required for operations like get, update, delete, add documents, list documents, and remove document.
Opções Avançadas Advanced options when adding documents: includes a custom document name and a namespace to organize documents.

Details of "Opções Avançadas" options:

Name Meaning
Nome Personalizado do Documento Custom name assigned to the document when adding it to the knowledge base.
Espaço de Nomes Namespace used to organize documents logically within the knowledge base.

Output

The node outputs JSON data representing the result of the selected operation. The structure varies depending on the operation:

  • For getKnowledgeBase and listKnowledgeBases, the output contains knowledge base details such as ID, name, description, and metadata.
  • For createKnowledgeBase and updateKnowledgeBase, the output returns the created or updated knowledge base information.
  • For deleteKnowledgeBase and removeDocument, the output confirms success with a message.
  • For addDocuments, the output returns details about the added document including any custom names or namespaces.
  • For listDocuments, the output lists all documents associated with the specified knowledge base.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the ElevenLabs service.
  • Uses internal helper functions to build request options and handle API calls.
  • Needs network access to ElevenLabs API endpoints related to conversational knowledge bases.

Troubleshooting

  • Common issues:

    • Invalid or missing knowledge base ID will cause errors when trying to get, update, delete, or manage documents.
    • Incorrect document URLs or unsupported document types may cause failures when adding documents.
    • Network or authentication errors if the API key is invalid or missing.
  • Error messages and resolutions:

    • Errors indicating "knowledge base not found" suggest verifying the provided knowledge base ID.
    • Authentication errors require checking the configured API key credential.
    • Validation errors on document URLs or parameters should be resolved by ensuring correct input formats.

Links and References

  • ElevenLabs official documentation for managing knowledge bases (not included here; please refer to ElevenLabs API docs).
  • n8n documentation on creating and using custom nodes and credentials.

Discussion