Skip to content
Zajkani
Menu
All projects

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.

Diagram of the CryptoCopilot pipeline: indexer, retriever and generator in a row, followed by a recall gate; below them documents, the top eight results and an answer with citations.
Technologies
  • Java / Spring Boot
  • Spring AI
  • pgvector
  • Python / FastAPI
  • Docker
  • GitHub Actions
Links

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.