Spaces:
Runtime error
Runtime error
Commit
·
74c9c64
1
Parent(s):
5460a4a
change agenttype
Browse files
app.py
CHANGED
|
@@ -60,8 +60,8 @@ index = pinecone.Index(index_name)
|
|
| 60 |
|
| 61 |
llm = chat
|
| 62 |
agent = initialize_agent(tools, llm,
|
| 63 |
-
agent=AgentType.
|
| 64 |
-
verbose = True
|
| 65 |
|
| 66 |
global vectordb
|
| 67 |
vectordb = Chroma(persist_directory='db', embedding_function=embeddings)
|
|
|
|
| 60 |
|
| 61 |
llm = chat
|
| 62 |
agent = initialize_agent(tools, llm,
|
| 63 |
+
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
| 64 |
+
verbose = True)
|
| 65 |
|
| 66 |
global vectordb
|
| 67 |
vectordb = Chroma(persist_directory='db', embedding_function=embeddings)
|