Spaces:
Runtime error
Runtime error
thoristhor
commited on
Commit
·
3364520
1
Parent(s):
1f95db9
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ tools = [
|
|
24 |
)
|
25 |
]
|
26 |
memory = GPTIndexMemory(index=indexed_pinecone, memory_key="chat_history", query_kwargs={"response_mode": "compact"})
|
27 |
-
llm=
|
28 |
agent_chain = initialize_agent(tools, llm, agent="conversational-react-description", memory=memory, verbose=True)
|
29 |
|
30 |
def predict(input, history=[]):
|
|
|
24 |
)
|
25 |
]
|
26 |
memory = GPTIndexMemory(index=indexed_pinecone, memory_key="chat_history", query_kwargs={"response_mode": "compact"})
|
27 |
+
llm=OpenAI(temperature=0, model_name="gpt-3.5-turbo")
|
28 |
agent_chain = initialize_agent(tools, llm, agent="conversational-react-description", memory=memory, verbose=True)
|
29 |
|
30 |
def predict(input, history=[]):
|