turnstone/tests/context
pyr0ball 3e7a1fa064 refactor: extract embeddings service layer — decouple context embedder from Ollama
- New app/services/embeddings.py: TURNSTONE_EMBED_* env vars, multi-backend support
- embedder.py delegates to service layer; re-exports EMBEDDING_AVAILABLE for compat
- retriever.py updated to use service layer
- Test coverage updated in tests/context/test_embedder.py
2026-05-25 11:01:25 -07:00
..
__init__.py feat: add context_facts, context_documents, context_chunks tables to schema 2026-05-13 15:51:19 -07:00
test_chunker.py feat: context chunker — type detection, YAML extraction, text chunking 2026-05-13 15:54:51 -07:00
test_diagnose_context.py feat: inject environment context into diagnose pipeline and LLM prompt 2026-05-13 16:29:26 -07:00
test_doc_upload.py refactor: rename ingest → glean throughout codebase 2026-05-20 23:02:55 -07:00
test_embedder.py refactor: extract embeddings service layer — decouple context embedder from Ollama 2026-05-25 11:01:25 -07:00
test_retriever.py feat: context retriever — keyword fact lookup and chunk search 2026-05-13 16:23:54 -07:00
test_schema.py refactor: rename ingest → glean throughout codebase 2026-05-20 23:02:55 -07:00
test_store.py feat: context store — fact and document CRUD 2026-05-13 15:53:03 -07:00
test_wizard.py feat: wizard state machine — structured Q&A writes context facts and source config 2026-05-13 16:25:52 -07:00