FAQ¶
Short answers to the questions reviewers and new users actually ask. For the "why" behind design choices, read the Engineering decisions page.
Do I need a GPU, API keys or model downloads to run this?¶
No. The unit suites (320+ tests) run network-free on a deterministic fake
embedder and a scripted mock LLM — the same setup CI uses. Real providers
(Ollama, OpenAI) are optional and configured via environment variables; see
serving/.env.example for every supported variable and its default.
Why is the stock predictor's ROC-AUC only 0.53? Isn't that bad?¶
Yes — and that is exactly why it stays published. Daily stock direction is close to unpredictable; the project's value is the leakage-free walk-forward backtest with transaction costs that demonstrates the number honestly instead of shipping a cherry-picked backtest that "predicts" 0.9 AUC. The methodology page shows the full validation design.
What exactly is a "fake embedder" and why would you test with one?¶
A deterministic stand-in that maps text to fixed vectors. Retrieval tests then assert structure — ranking, fusion, caching, guardrails — without downloading gigabytes of model weights or floating-point flakiness. The real model's behaviour is pinned separately by contract tests. One of those tests exists because a real 768-vs-384 dimension drift incident happened and had to become structurally impossible to repeat (ADR-002, ADR-003).
Is the assistant Persian-only?¶
The flagship assistant is Persian-first: normalisation, tokenisation, bilingual query expansion (Persian ↔ English) and an RTL chat UI. The pipeline itself, the docs and the REST API are English-readable, and the prompt-injection guardrails are bilingual by design.
How do I run the full stack locally?¶
docker compose up starts the API, Ollama, the Streamlit chat UI, Prometheus
and Grafana together. For just the API: make api and open
http://127.0.0.1:8000/docs. The deployment guide covers
environment variables, Spaces and the offline latency benchmark
(make bench).
How do I cite this repository?¶
The repository ships a CITATION.cff; GitHub renders it under Cite this
repository. Versioned releases follow SemVer on v* tags — cite the release
you used.
Can I reuse this in my own project?¶
Yes — MIT. If you borrow the serving contract or the test strategy, the ADRs document the trade-offs you are inheriting.
Where should I report a security concern?¶
Not in a public issue. Follow SECURITY.md — reports go to the maintainer directly and are acknowledged before any fix lands.