Knowledge retrieval tool Node
Overview
The Knowledge Retrieval Tool Node creates a tool that enables agents to search and retrieve information from vector store collections. It provides semantic search capabilities with customizable filtering options and can be used to integrate knowledge bases into agent-based flows.
Usage cost: 1 credit
Configuration
Settings
Collection Settings
Collection*: Select the vector store collection to search
Number of Documents*: Specify how many documents to retrieve (minimum 1)
Tool Configuration
Tool Name*: Unique identifier for the tool (no spaces)
Tool Description*: Explanation of when and how to use the tool
Filtering: Optional conditions to filter search results
Output Ports
retrieval_tool
(Tool): A tool object that:Searches the specified collection
Returns relevant documents
Applies configured filters
Maintains metadata
Best Practices
Tool Configuration
Use clear, descriptive tool names
Write comprehensive descriptions
Set appropriate document limits
Consider search context
Filter Design
Follow vector store syntax
Test filters thoroughly
Use variables strategically
Performance
Optimize document count
Design efficient filters
Common Issues
Invalid filter syntax
Excessive document retrieval
Filter parsing errors
Collection connectivity issues
For vector store specific filter syntax, refer to:
Last updated