soyleyicicem commited on
Commit
6c63d44
·
verified ·
1 Parent(s): f76934b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -241,7 +241,7 @@ def chat(question, manual, history, liked):
241
  # conv.append(first_hop_response.choices[-1].message)
242
 
243
  first_hop_response = chat_gpt(prompt=f"Soru: {question}",
244
- history={"role": "system", "content": f"{first_hop}"},
245
  tools=retrieval_functions)
246
 
247
  tool_calls = first_hop_response.choices[-1].message.tool_calls
 
241
  # conv.append(first_hop_response.choices[-1].message)
242
 
243
  first_hop_response = chat_gpt(prompt=f"Soru: {question}",
244
+ history=[{"role": "system", "content": f"{first_hop}"}],
245
  tools=retrieval_functions)
246
 
247
  tool_calls = first_hop_response.choices[-1].message.tool_calls