How can I do inference logging for a FastAPI application that's deployed via k8s
- User
How can I do inference logging for a FastAPI application that's deployed via k8s
Assistant
To do inference logging for a FastAPI application that's deployed via Kubernetes, you can follow these steps:
-
Configure the FastAPI application to log the inference requests: You can use the logging library in Python to log the inference requests that are made to the application. You can log the request parameters, the response from the inference engine, and any errors that occur during the inference process.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.