Spaces:
Runtime error
Runtime error
Commit
·
43179cf
1
Parent(s):
009c740
correct load_tools defect
Browse files
app.py
CHANGED
@@ -83,9 +83,9 @@ llm = chat
|
|
83 |
# description ='Useful for when you need to answer questions about math.'
|
84 |
# )
|
85 |
|
86 |
-
tools = [DB_Search(), duckduckgo_tool, python_tool]
|
87 |
|
88 |
-
tools = load_tools(["llm-math"], llm=llm)
|
89 |
|
90 |
embeddings = OpenAIEmbeddings(deployment="model_embedding", chunk_size=15)
|
91 |
|
|
|
83 |
# description ='Useful for when you need to answer questions about math.'
|
84 |
# )
|
85 |
|
86 |
+
# tools = [DB_Search(), duckduckgo_tool, python_tool]
|
87 |
|
88 |
+
tools = load_tools(["DB_Search","duckduckgo_tool","python_tool","llm-math"], llm=llm)
|
89 |
|
90 |
embeddings = OpenAIEmbeddings(deployment="model_embedding", chunk_size=15)
|
91 |
|