RAG Knowledge Base — System Design

9 components · 8 links · 5 zones

Loading graph…
Legend
  • Standard node
  • External / inferred (dashed)
  • Database / persistent store
  • Load balancer / proxy
  • Zone band (small-caps title)
  • Link / dependency
  • Data flow (dashed)
  • Bidirectional (request/response)

Inferred components — evidence

  1. Ollama chat model — daemon not in repo; inferred from ChatOllama(model=OLLAMA_MODEL, base_url=OLLAMA_BASE_URL) in backend/main.py get_llm() and ollama>=0.2.0 in requirements.txt. Port :11434 is the LangChain default base_url http://localhost:11434.
  2. Ollama embeddings — inferred from OllamaEmbeddings(model="nomic-embed-text", base_url="http://localhost:11434") in backend/ingest.py create_embeddings(). Same external daemon as chat.
  3. ChromaDB storage backend (DuckDB+Parquet) is the Chroma default; persist directory backend/chroma_db/ is git-ignored and not present in the repo.