Why Docker?
The RAG pipeline uses BAAI/bge-small-en-v1.5 to embed financial summaries into vectors. This model runs in a lightweight Docker container so you don’t need to install PyTorch on the main server.Start the embedding server
Verify it’s running
Memory requirements
A t3.small (2 GB RAM) can comfortably run both the FastAPI backend and the embedding server.