Coool2 commited on
Commit
35a713b
·
verified ·
1 Parent(s): 267684e

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +7 -1
agent.py CHANGED
@@ -298,7 +298,13 @@ forced_rag_pipeline = create_forced_rag_pipeline()
298
  process_docs_urls_tool = FunctionTool.from_defaults(
299
  fn=lambda input_path: forced_rag_pipeline.run(input_path),
300
  name="process_docs_urls_tool",
301
- description="AUTOMATICALLY processes documents or URLs with read_and_parse for content extraction and parsing then creates RAG query engine on it"
 
 
 
 
 
 
302
  )
303
 
304
  safe_globals = {
 
298
  process_docs_urls_tool = FunctionTool.from_defaults(
299
  fn=lambda input_path: forced_rag_pipeline.run(input_path),
300
  name="process_docs_urls_tool",
301
+ description=(
302
+ "This is the PRIMARY and BEST tool to extract required information from URLs or documents. "
303
+ "It AUTOMATICALLY processes documents or URLs with read_and_parse for complete content extraction and parsing, "
304
+ "then creates a RAG query engine optimized for information retrieval. This tool is specifically designed to "
305
+ "handle web pages, PDFs, documents and extract specific information efficiently. "
306
+ "DO NOT try to access pages manually - use this tool instead for superior information extraction and querying capabilities."
307
+ )
308
  )
309
 
310
  safe_globals = {