Spaces:
Sleeping
Sleeping
Commit ·
6974c12
1
Parent(s): 611bb1a
modified: collaborators
Browse files
logs/access.log
CHANGED
|
@@ -1943,3 +1943,5 @@
|
|
| 1943 |
2026-02-01 16:56:00,094 | INFO | access_logger | api/main.py:21 | Response status: 422
|
| 1944 |
2026-02-01 16:56:09,838 | INFO | access_logger | api/main.py:19 | Request: POST http://127.0.0.1:8000/api/analytics-chatbot
|
| 1945 |
2026-02-01 16:56:15,071 | INFO | access_logger | api/main.py:21 | Response status: 200
|
|
|
|
|
|
|
|
|
| 1943 |
2026-02-01 16:56:00,094 | INFO | access_logger | api/main.py:21 | Response status: 422
|
| 1944 |
2026-02-01 16:56:09,838 | INFO | access_logger | api/main.py:19 | Request: POST http://127.0.0.1:8000/api/analytics-chatbot
|
| 1945 |
2026-02-01 16:56:15,071 | INFO | access_logger | api/main.py:21 | Response status: 200
|
| 1946 |
+
2026-02-01 17:05:15,492 | INFO | access_logger | api/main.py:19 | Request: POST http://127.0.0.1:8000/api/analytics-chatbot
|
| 1947 |
+
2026-02-01 17:05:24,179 | INFO | access_logger | api/main.py:21 | Response status: 200
|
src/genai/analytics_chatbot/utils/nodes.py
CHANGED
|
@@ -67,6 +67,8 @@ class RetrieveExactEndpoint:
|
|
| 67 |
|
| 68 |
result = self.llm.with_structured_output(EndpointFormatter, method='function_calling').invoke(messages)
|
| 69 |
print('The exact endpoint is:', result.endpoint)
|
|
|
|
|
|
|
| 70 |
endpoint_info=get_endpoint_info(result.endpoint)
|
| 71 |
print('The endpoint info is:', endpoint_info)
|
| 72 |
|
|
|
|
| 67 |
|
| 68 |
result = self.llm.with_structured_output(EndpointFormatter, method='function_calling').invoke(messages)
|
| 69 |
print('The exact endpoint is:', result.endpoint)
|
| 70 |
+
if result.endpoint == "/api/v1/collaboraor/":
|
| 71 |
+
result.endpoint = "/api/v1/collaborator/"
|
| 72 |
endpoint_info=get_endpoint_info(result.endpoint)
|
| 73 |
print('The endpoint info is:', endpoint_info)
|
| 74 |
|