Coool2 commited on
Commit
aa1b814
·
verified ·
1 Parent(s): ef6d0a0

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -6
agent.py CHANGED
@@ -551,12 +551,7 @@ Available tools:
551
  2. **extract_url_tool** - Search and extract relevant URLs when no specific source is provided
552
  3. **generate_code_tool** - Generate Python code for complex computations
553
  4. **code_execution_tool** - Execute Python code safely
554
-
555
- WORKFLOW:
556
- 1. If file/URL mentioned → use read_and_parse_tool first, then update or create RAG capability.
557
- 2. If documents loaded → create RAG capability for querying
558
- 3. If external info needed → use extract_url_tool, then process it as if file/URL mentioned
559
- 4. If computation needed → use generate_code_tool then code_execution_tool
560
  """,
561
  llm=proj_llm,
562
  tools=self.available_tools,
 
551
  2. **extract_url_tool** - Search and extract relevant URLs when no specific source is provided
552
  3. **generate_code_tool** - Generate Python code for complex computations
553
  4. **code_execution_tool** - Execute Python code safely
554
+ 5. **create_dynamic_rag_tool** - Create RAG tool from parsed files to improve the information retrieval.
 
 
 
 
 
555
  """,
556
  llm=proj_llm,
557
  tools=self.available_tools,