IS373 Rust streaming RAG with Ordo chat, local multimedia, and independent model providers.
1.8K
A reusable Rust/Axum streaming RAG backend and Svelte conversation workspace for IS373. Includes saved chats, source citations, local image understanding, PDF page extraction, sampled video frames and audio transcription. Optional Groq text generation uses the same provider-independent application API.
Complete student guide · Requirements and installation · Source and CI
git clone https://github.com/kaw393939/is373-rust-rag.git
cd is373-rust-rag
python3 scripts/setup.py --provider local --runtime docker --container-ollama --yes
python3 scripts/start.py
Open http://127.0.0.1:3730. Docker Engine/Desktop with Compose, Python 3.10+ and Git are required. The full local path is planned for 16 GB RAM and about 20 GB free disk including models/build caches. On Apple Silicon, native host Ollama offers Metal acceleration; omit --container-ollama when host Ollama is installed and running.
The compiled Rust server, built UI, synthetic teaching corpus, FFmpeg, Poppler and whisper.cpp. Model weights, API keys and user conversations are not baked into the image. Setup downloads weights into persistent storage and imports the corpus. Choose Groq through the interactive setup assistant for hosted text; embeddings and optional vision/speech remain independently local.
CI builds and smoke-tests Linux AMD64 and ARM64 images before publishing a combined manifest. Tags use latest, sha-<commit> and version tags. Pin a verified image digest for reproducibility. The Compose app-data and optional ollama-data volumes preserve the database and model files across container replacement.
This is a working single-user reference with loopback-only host access. Public multi-user hosting requires authentication, per-resource authorization and additional operational work. Video understanding uses bounded frame samples; model answers and transcripts require source review. See the guide for ETL, provider contracts, evaluation, limits, backups and CI/CD.
Content type
Image
Digest
sha256:fd7230ea3…
Size
205.3 MB
Last updated
14 days ago
docker pull kaw393939/is373-rust-rag