danny-avila / rag_api

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

🖼️ feat: Implement Lite Image for Smaller Footprint #10

Closed danny-avila closed 3 months ago

danny-avila commented 3 months ago

Summary

Implemented a "lite" docker image to reduce the overall storage footprint of the application, which will be used as the default for LibreChat.

This change aims to improve performance and reduce resource consumption, particularly for users with limited bandwidth or device capabilities.

The lite image omits the sentence_transformers package as by itself is 5 GB, and is necessary for local embeddings through the standalone HuggingFace provider.