Spaces:
Sleeping
Sleeping
Commit History
-
Add logging configuration and integrate logging into API endpoints
- Introduced a new logging configuration module to set up logging for the application, including file and console handlers. - Integrated logging into the FastAPI application, capturing detailed information about request processing, including upload and query operations. - Enhanced the RAG pipeline with logging for vector search execution, context retrieval, and response generation, improving traceability and debugging capabilities. - Added logging for error handling in the pipeline to capture exceptions and processing times, facilitating better monitoring and performance analysis.57e7c3d