Delete utils.py
Browse files
utils.py
DELETED
|
@@ -1,10 +0,0 @@
|
|
| 1 |
-
import datetime
|
| 2 |
-
|
| 3 |
-
# --- Fixtures in app/utils.py ---
|
| 4 |
-
|
| 5 |
-
# 1. Log Query Function:
|
| 6 |
-
# This 'fixture' is a utility function designed for logging interactions.
|
| 7 |
-
# It can be used to record user inputs and corresponding bot responses for
|
| 8 |
-
# debugging, monitoring, or analytics purposes.
|
| 9 |
-
def log_query(user_input: str, response: str):
|
| 10 |
-
print(f"[{datetime.datetime.now()}] INPUT: {user_input} → OUTPUT: {response}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|