add_knowledge_to_context=True to retrieve before the first model call.
traditional_rag_lancedb.py
Run the Agent
1
Set up your virtual environment
2
Install dependencies
3
Export the API key
4
Run the agent
How It Works
add_knowledge_to_context=Truesearches with the run’s string input.- Returned documents are appended to the user message inside a
<references>block. search_knowledge=Falseremoves the model-callable search tool.