danny-avila / rag_api

ID-based RAG FastAPI: Integration with Langchain and PostgreSQL/pgvector
https://librechat.ai/
143 stars 60 forks source link

🧑‍💻 refactor: Enhance Error Handling and Introduce Alternate Variables for Configuration #19

Closed danny-avila closed 3 months ago

danny-avila commented 3 months ago

Summary:

This pull request introduces multiple enhancements and improvements to the codebase focusing on error handling mechanisms and configuration management for different OpenAI API services.

Key Changes:

  1. Improved error handling in the /embed endpoint by refining the status messages and exception handling for file processing. These changes help in providing clearer feedback to the user in case of failures.
  2. Updated the README.md and config.py files to include new variables to prevent usage of docker override as the default to separate credentials used between LibreChat and RAG API

New variables