added EvalDataset Generation
Browse files
app.py
CHANGED
|
@@ -547,10 +547,11 @@ class BSIChatbot:
|
|
| 547 |
print(data["Lektion"])
|
| 548 |
#print(data)
|
| 549 |
i=i+1
|
|
|
|
|
|
|
|
|
|
|
|
|
| 550 |
|
| 551 |
-
with open('/home/user/app/docs/_eval/eval_dataset.json', 'w') as fout:
|
| 552 |
-
json.dump(data, fout, ensure_ascii=False)
|
| 553 |
-
fout.write("\n")
|
| 554 |
# Print full response as JSON
|
| 555 |
# print(chat_completion)
|
| 556 |
|
|
|
|
| 547 |
print(data["Lektion"])
|
| 548 |
#print(data)
|
| 549 |
i=i+1
|
| 550 |
+
with open('/home/user/app/docs/_eval/eval_dataset.json', 'w') as fout:
|
| 551 |
+
json.dump(data, fout, ensure_ascii=False)
|
| 552 |
+
fout.write("\n")
|
| 553 |
+
|
| 554 |
|
|
|
|
|
|
|
|
|
|
| 555 |
# Print full response as JSON
|
| 556 |
# print(chat_completion)
|
| 557 |
|