Spaces:
Running
Running
soyleyicicem
commited on
Update app.py
Browse files
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
|