Retrieval-Augmented Generation with Qdrant and Ollama
Find a file
Claude e90f281f6b
test: add Phase 3 integration tests with live Qdrant + Ollama (69.0% -> 89.2%)
32 new integration tests across 3 files, all gated behind //go:build rag:
- qdrant_integration_test.go (11): collection CRUD, upsert, search, filter, overwrite
- ollama_integration_test.go (9): embed, batch, consistency, dimension, model verify
- integration_test.go (12): end-to-end ingest+query, format results, all helpers,
  semantic similarity, recreate flag, convenience wrappers with default clients

Key discovery: Qdrant NewID() requires valid UUID/hex format — arbitrary strings
rejected. ChunkID's MD5 hex output works, but test point IDs must match.

Co-Authored-By: Charon <developers@lethean.io>
2026-02-20 00:33:03 +00:00
chunk.go feat: extract go-rag from go-ai as standalone RAG package 2026-02-19 18:29:59 +00:00
chunk_test.go test: add Phase 1 pure-function unit tests (18.4% -> 38.8% coverage) 2026-02-20 00:02:52 +00:00
CLAUDE.md feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
embedder.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
FINDINGS.md test: add Phase 3 integration tests with live Qdrant + Ollama (69.0% -> 89.2%) 2026-02-20 00:33:03 +00:00
go.mod fix: correct go.mod replace directive, prep contract files for fleet 2026-02-19 23:33:56 +00:00
go.sum fix: correct go.mod replace directive, prep contract files for fleet 2026-02-19 23:33:56 +00:00
helpers.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
helpers_test.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
ingest.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
ingest_test.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
integration_test.go test: add Phase 3 integration tests with live Qdrant + Ollama (69.0% -> 89.2%) 2026-02-20 00:33:03 +00:00
mock_test.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
ollama.go feat: extract go-rag from go-ai as standalone RAG package 2026-02-19 18:29:59 +00:00
ollama_integration_test.go test: add Phase 3 integration tests with live Qdrant + Ollama (69.0% -> 89.2%) 2026-02-20 00:33:03 +00:00
ollama_test.go test: add Phase 1 pure-function unit tests (18.4% -> 38.8% coverage) 2026-02-20 00:02:52 +00:00
qdrant.go feat: extract go-rag from go-ai as standalone RAG package 2026-02-19 18:29:59 +00:00
qdrant_integration_test.go test: add Phase 3 integration tests with live Qdrant + Ollama (69.0% -> 89.2%) 2026-02-20 00:33:03 +00:00
qdrant_test.go test: add Phase 1 pure-function unit tests (18.4% -> 38.8% coverage) 2026-02-20 00:02:52 +00:00
query.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
query_test.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00
TODO.md test: add Phase 3 integration tests with live Qdrant + Ollama (69.0% -> 89.2%) 2026-02-20 00:33:03 +00:00
vectorstore.go feat: extract Embedder and VectorStore interfaces, add mock-based tests 2026-02-20 00:15:54 +00:00