Spaces:
Sleeping
Sleeping
Update tools.py
Browse files
tools.py
CHANGED
@@ -60,6 +60,6 @@ rag_format = '{{"prompt": "prompt"}}'
|
|
60 |
rag_tool = Tool.from_function(
|
61 |
func=rag,
|
62 |
name="RAG",
|
63 |
-
description=f"Useful for retrieving contextual information about the PDF to answer user questions. Input should be a single string strictly in the following JSON format: {
|
64 |
return_direct=True,
|
65 |
)
|
|
|
60 |
rag_tool = Tool.from_function(
|
61 |
func=rag,
|
62 |
name="RAG",
|
63 |
+
description=f"Useful for retrieving contextual information about the PDF to answer user questions. Input should be a single string strictly in the following JSON format: {rag_format}",
|
64 |
return_direct=True,
|
65 |
)
|