feat(ai): IEmbeddingProvider foundation #18

Merged
cesnimda merged 1 commits from feature/ai-embeddings into develop 2026-07-02 02:05:57 +02:00
Owner

AI-foundation slice 1: IEmbeddingProvider (Null + Ollama), the base for semantic search. DI-registered by AI mode; AI stays optional (Null returns empty vectors -> lexical fallback). No schema change. Build + 41 tests pass.

🤖 Generated with Claude Code

AI-foundation slice 1: IEmbeddingProvider (Null + Ollama), the base for semantic search. DI-registered by AI mode; AI stays optional (Null returns empty vectors -> lexical fallback). No schema change. Build + 41 tests pass. 🤖 Generated with Claude Code
cesnimda added 1 commit 2026-07-02 02:03:27 +02:00
feat(ai): IEmbeddingProvider foundation (Null + Ollama)
CI / backend (pull_request) Successful in 50s
CI / frontend (pull_request) Successful in 14s
Security / secrets (pull_request) Successful in 3s
Security / dependencies (pull_request) Successful in 59s
cd09a6ad26
AI-foundation slice 1 (per docs/discovery/06). Adds the embeddings abstraction that
semantic search / near-dup / find-similar will build on: IEmbeddingProvider with a
NullEmbeddingProvider (AI-off: IsAvailable=false, empty vectors) and an
OllamaEmbeddingProvider (/api/embeddings, nomic-embed-text). DI registers embeddings
by AI mode (Ollama local, else Null). Kept separate from IAiProvider since embeddings
are a distinct model/capability. AI remains fully optional — callers fall back to
lexical search when unavailable.

Buildable/testable without a live Ollama; unit test locks the Null fallback contract.
Build + all 41 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda merged commit d78fe601ff into develop 2026-07-02 02:05:57 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/Inboxintel#18