Skip to main content

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

This starts a FastAPI server on port 8001 that exposes:

Verify it’s running

Should return a 384-dimensional float array.

Memory requirements

A t3.small (2 GB RAM) can comfortably run both the FastAPI backend and the embedding server.

Without Docker

If you can’t run Docker, RAG ingestion will fall back to a no-op and the AI advisor will work without memory context. All other features work normally.