Actions10
- Agent Chat Actions
- Browser Automation Actions
- Code Execution Actions
- File Processing Actions
- Memory Operation Actions
- Tool Execution Actions
Overview
The node integrates with the Nerve Agent AI system, specifically enabling querying of the agent's memory or knowledge base. It supports different search types—semantic, keyword, and hybrid—to retrieve relevant information based on a user-provided query string. This functionality is useful for scenarios where you want to extract contextual or factual data stored in the AI's memory, such as retrieving past conversation details, knowledge snippets, or other stored information.
Practical examples include:
- Searching an AI assistant’s memory for previous interactions related to a topic.
- Querying a knowledge base to fetch relevant documents or facts.
- Combining semantic understanding with keyword matching to improve search accuracy.
Properties
| Name | Meaning |
|---|---|
| Query | The search query string used to look up information in the memory or knowledge base. |
| Search Type | The type of search to perform: - Semantic: Vector-based semantic search - Keyword: Traditional keyword search - Hybrid: Combined semantic and keyword search |
Output
The node outputs JSON data containing the results of the memory query. This typically includes matched entries from the knowledge base or memory store relevant to the input query. The exact structure depends on the response from the Nerve Agent API but generally consists of an array of result objects with details about each match.
If binary data were involved (not indicated here), it would represent files or attachments retrieved from memory, but this node focuses on textual or structured JSON results.
Dependencies
- Requires an API key credential for authenticating with the Nerve Agent AI system.
- Needs the base URL of the Nerve Agent API configured in the credentials.
- Relies on the Nerve Agent service being accessible and properly configured to handle memory queries.
Troubleshooting
Common issues:
- Invalid or missing API key leading to authentication errors.
- Incorrect base URL causing connection failures.
- Unsupported or misspelled search type values resulting in request errors.
- Empty or malformed query strings causing no results or errors.
Error messages and resolutions:
- 401 Unauthorized: Check that the API key credential is correctly set and valid.
- 404 Not Found: Verify the base URL and resource path are correct.
- 400 Bad Request: Ensure the query string is provided and the search type is one of the supported options.
- No results returned: Try broadening the query or switching the search type to hybrid or keyword.
Links and References
- Nerve Agent Official Documentation (hypothetical link)
- Concepts of semantic vs keyword search: https://en.wikipedia.org/wiki/Semantic_search
- n8n documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/