Actions4
- Knowledge Database Actions
- Image Actions
- Audio Actions
- Chat Actions
Overview
This node allows you to search within a knowledge database managed by the nele.ai service. It is designed to query a specific document collection in the knowledge base and retrieve relevant results based on a user-provided search query. This functionality is useful for scenarios where you want to integrate intelligent search capabilities into your workflows, such as retrieving documents, FAQs, or other indexed content from a custom knowledge repository.
Practical examples include:
- Searching a product manual database to find relevant instructions.
- Querying a customer support knowledge base to fetch troubleshooting articles.
- Retrieving research papers or documentation snippets from an internal document collection.
Properties
| Name | Meaning |
|---|---|
| Knowledge Database | The specific knowledge database (document collection) to query. Choose from a list or specify an ID. |
| Query | The search string or question to send to the knowledge database. |
| Result Count | Maximum number of search results to return (1 to 20). |
| Max Distance | A numeric value between 0 and 1 controlling the maximum distance threshold for search relevance. |
Output
The node outputs JSON data containing the search results retrieved from the selected knowledge database. Each item in the output typically represents a matched document or entry relevant to the query. The structure includes details about each result such as its content, metadata, and relevance score.
If the node supports binary data output (not explicitly shown here), it would represent associated files or media linked to the search results.
Dependencies
- Requires an API key credential for authentication with the nele.ai service.
- Needs network access to the configured base URL of the nele.ai API.
- The node dynamically loads available knowledge databases (document collections) via an authenticated GET request to
/models.
Troubleshooting
Common issues:
- Invalid or missing API key will cause authentication failures.
- Selecting a non-usable or unavailable knowledge database may result in empty or error responses.
- Providing an empty or malformed query string might yield no results or errors.
- Exceeding the allowed
Result Countlimits (less than 1 or more than 20) could cause validation errors.
Error messages:
- Authentication errors: Check that the API key credential is correctly set up and valid.
- Resource not found: Verify the selected knowledge database exists and is usable.
- Validation errors on input properties: Ensure all required fields are filled and within allowed ranges.
Links and References
- n8n Expressions Documentation
- nele.ai API Documentation (generic link provided in node metadata)