markitect-main/markitect/llm
tegwick 267368eb60 feat(llm): add embedding adapter with cache and similarity utils (S1.3)
Add OpenAI-compatible embedding support (works with both OpenAI and
OpenRouter), file-based embedding cache with content-digest invalidation,
and pure-Python cosine similarity utilities for downstream redundancy
detection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 01:22:21 +01:00
..
__init__.py feat(llm): add embedding adapter with cache and similarity utils (S1.3) 2026-02-19 01:22:21 +01:00
_http.py feat(llm): add LLM integration module with OpenRouter and Claude Code adapters 2026-02-11 01:17:58 +01:00
_token_estimator.py feat(llm): add LLM integration module with OpenRouter and Claude Code adapters 2026-02-11 01:17:58 +01:00
claude_code.py feat(llm): add LLM integration module with OpenRouter and Claude Code adapters 2026-02-11 01:17:58 +01:00
config.py feat(llm): add LLM integration module with OpenRouter and Claude Code adapters 2026-02-11 01:17:58 +01:00
embedding_adapter.py feat(llm): add embedding adapter with cache and similarity utils (S1.3) 2026-02-19 01:22:21 +01:00
embedding_cache.py feat(llm): add embedding adapter with cache and similarity utils (S1.3) 2026-02-19 01:22:21 +01:00
embedding_factory.py feat(llm): add embedding adapter with cache and similarity utils (S1.3) 2026-02-19 01:22:21 +01:00
embedding_openai.py feat(llm): add embedding adapter with cache and similarity utils (S1.3) 2026-02-19 01:22:21 +01:00
exceptions.py feat(llm): add LLM integration module with OpenRouter and Claude Code adapters 2026-02-11 01:17:58 +01:00
factory.py feat(llm): add OpenAI adapter, entity archive policy, process chapters 5-7 2026-02-11 23:39:44 +01:00
gemini.py feat(llm): add Gemini adapter and process book-1-chapter-05 2026-02-11 22:54:37 +01:00
openai.py feat(llm): add OpenAI adapter, entity archive policy, process chapters 5-7 2026-02-11 23:39:44 +01:00
openrouter.py feat(llm): add LLM integration module with OpenRouter and Claude Code adapters 2026-02-11 01:17:58 +01:00
similarity.py feat(llm): add embedding adapter with cache and similarity utils (S1.3) 2026-02-19 01:22:21 +01:00
toml_config.py feat(llm): add llm-default and llm-preference commands, switch hardcoded default to gemini 2026-02-13 16:35:44 +01:00