Using AI Agent with RAG

Working with AI Agent
Example scenario with an AI Agent using RAG Search as a tool:

Prompt Configuration for Agent
The agent is configured with a system prompt instructing it to use the RAG Search tool when the user asks for documentation-related information:

RAG Search Tool Setup
The RAG Search node is connected to the agent using fromAIAgent(). A storage is selected, top_k is set, and the tool description helps the model understand its capabilities.

End-to-End Example
-
The user sends a question to the agent
-
The agent uses RAG Search to retrieve relevant chunks

-
The agent composes and returns a final response

RAG Search Node
Search documents via vector similarity using natural language queries within scenarios.
Account Settings
Manage your account data, change email, and delete your account.
Need Help? Ask the community
If something on this page is missing or unclear, post on the Latenode community forum. Our team and other users usually reply quickly.