Spaces:
Sleeping
Sleeping
Commit
·
d0d62f3
1
Parent(s):
cbdf261
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,7 @@ def load_chain(tools_list, llm):
|
|
| 99 |
|
| 100 |
memory = ConversationBufferMemory(memory_key="chat_history")
|
| 101 |
|
| 102 |
-
chain = initialize_agent(tools, llm, agent="
|
| 103 |
express_chain = LLMChain(llm=llm, prompt=PROMPT_TEMPLATE, verbose=True)
|
| 104 |
return chain, express_chain
|
| 105 |
|
|
|
|
| 99 |
|
| 100 |
memory = ConversationBufferMemory(memory_key="chat_history")
|
| 101 |
|
| 102 |
+
chain = initialize_agent(tools, llm, agent="zero-shot-react-description", verbose=True, memory=memory)
|
| 103 |
express_chain = LLMChain(llm=llm, prompt=PROMPT_TEMPLATE, verbose=True)
|
| 104 |
return chain, express_chain
|
| 105 |
|