Spaces:
Sleeping
Sleeping
Commit
·
5acb96a
1
Parent(s):
a6a0614
Next commit
Browse files
logs/access.log
CHANGED
|
@@ -1435,3 +1435,15 @@
|
|
| 1435 |
2025-10-15 16:57:29,402 | INFO | access_logger | app.py:21 | Response status: 200
|
| 1436 |
2025-10-15 17:01:48,682 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/api/analytics-chatbot?msg=compare%20munachiya%20and%20divyadhakal_
|
| 1437 |
2025-10-15 17:01:53,796 | INFO | access_logger | app.py:21 | Response status: 200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1435 |
2025-10-15 16:57:29,402 | INFO | access_logger | app.py:21 | Response status: 200
|
| 1436 |
2025-10-15 17:01:48,682 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/api/analytics-chatbot?msg=compare%20munachiya%20and%20divyadhakal_
|
| 1437 |
2025-10-15 17:01:53,796 | INFO | access_logger | app.py:21 | Response status: 200
|
| 1438 |
+
2025-10-16 12:22:48,134 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/
|
| 1439 |
+
2025-10-16 12:22:48,135 | INFO | access_logger | app.py:21 | Response status: 200
|
| 1440 |
+
2025-10-16 12:22:48,642 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/favicon.ico
|
| 1441 |
+
2025-10-16 12:22:48,643 | INFO | access_logger | app.py:21 | Response status: 404
|
| 1442 |
+
2025-10-16 12:22:51,258 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/docs
|
| 1443 |
+
2025-10-16 12:22:51,259 | INFO | access_logger | app.py:21 | Response status: 200
|
| 1444 |
+
2025-10-16 12:22:51,635 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/openapi.json
|
| 1445 |
+
2025-10-16 12:22:51,642 | INFO | access_logger | app.py:21 | Response status: 200
|
| 1446 |
+
2025-10-16 12:23:09,410 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/api/analytics-chatbot?msg=I%20want%20to%20compare%20the%20analytics%20of%20munachiya%20and%20divya%20dhakal%20in%20weekly%20basis
|
| 1447 |
+
2025-10-16 12:23:26,922 | INFO | access_logger | app.py:21 | Response status: 200
|
| 1448 |
+
2025-10-16 12:29:45,579 | INFO | access_logger | app.py:19 | Request: GET http://127.0.0.1:8000/api/analytics-chatbot?msg=I%20want%20to%20compare%20the%20analytics%20of%20munachiya%20and%20divya%20dhakal%20in%20weekly%20basis
|
| 1449 |
+
2025-10-16 12:29:51,251 | INFO | access_logger | app.py:21 | Response status: 200
|
src/genai/analytics_chatbot/utils/nodes.py
CHANGED
|
@@ -138,7 +138,7 @@ class FetchDataNode:
|
|
| 138 |
response=llm_gpt.with_structured_output(CompareBodyFormatter , method='function_calling').invoke(messages)
|
| 139 |
print('INF names response:', response)
|
| 140 |
payload = {
|
| 141 |
-
"usernames": response.names,
|
| 142 |
"freq": response.frequency
|
| 143 |
}
|
| 144 |
|
|
|
|
| 138 |
response=llm_gpt.with_structured_output(CompareBodyFormatter , method='function_calling').invoke(messages)
|
| 139 |
print('INF names response:', response)
|
| 140 |
payload = {
|
| 141 |
+
"usernames": list(map(process_query,response.names)),
|
| 142 |
"freq": response.frequency
|
| 143 |
}
|
| 144 |
|