Spaces:
Runtime error
Runtime error
DylanonWic
commited on
Commit
•
25f569b
1
Parent(s):
ab4ba0d
Update tools.py
Browse files
tools.py
CHANGED
@@ -180,7 +180,7 @@ from langchain.tools.retriever import create_retriever_tool
|
|
180 |
from langchain_core.tools import Tool
|
181 |
|
182 |
|
183 |
-
docs = get_documents()
|
184 |
retriever = get_retriver_from_docs(docs)
|
185 |
|
186 |
population_doc_retriever = create_retriever_tool(
|
|
|
180 |
from langchain_core.tools import Tool
|
181 |
|
182 |
|
183 |
+
docs = get_documents("./app/document/*.csv")
|
184 |
retriever = get_retriver_from_docs(docs)
|
185 |
|
186 |
population_doc_retriever = create_retriever_tool(
|