CryptoCopilot
A personal reference project: a RAG system with data pipeline, routing and guardrails, reaching 0.90 Recall@8 and a 100% citation rate, with evaluation as code.

- Technologies
- Java / Spring Boot
- Spring AI
- pgvector
- Python / FastAPI
- Docker
- GitHub Actions
CryptoCopilot is a personal, open-source reference project for retrieval-augmented generation (RAG): a system with data pipeline, routing and guardrails. Code: github.com/hzajkani/cryptocopilot.
- Pipeline: indexer → recency-aware retriever → grounded generator on pgvector, reaching 0.90 Recall@8 and a 100% citation rate; answers without a valid source are refused
- LLM integration via a provider abstraction: local (Ollama) ↔ OpenAI, switchable at runtime, with fallback, without code changes or re-indexing
- Evaluation as code: gold set, per-category recall gates, offline tests in CI
Stack
Java / Spring Boot, Spring AI, pgvector, Python / FastAPI, Docker, GitHub Actions.