Update chat_interface.py
Browse files- chat_interface.py +1 -1
chat_interface.py
CHANGED
@@ -123,7 +123,7 @@ def predict(input: str, history):
|
|
123 |
with log_file.open("a") as f:
|
124 |
f.write(json.dumps(
|
125 |
{
|
126 |
-
'user_input':
|
127 |
'retrieved_context': context_for_query,
|
128 |
'model_response': prediction
|
129 |
}
|
|
|
123 |
with log_file.open("a") as f:
|
124 |
f.write(json.dumps(
|
125 |
{
|
126 |
+
'user_input': input,
|
127 |
'retrieved_context': context_for_query,
|
128 |
'model_response': prediction
|
129 |
}
|