Expand description
v1.0.75 (G21 solution): extraction backend abstraction with LLM/Embedding/None/Composite implementations. Extraction backend abstraction (v1.0.75 — G21 solution)
Provides trait with concrete implementations for LLM-only (default in v1.0.75), Embedding (legacy), None (no extraction), and Composite (orchestrates multiple backends in parallel).
The trait enables backend-agnostic ingest/enrich/remember pipelines.
Re-exports§
pub use composite_backend::backend_from_kind;pub use composite_backend::default_backend;pub use composite_backend::CompositeBackend;pub use embedding_backend::EmbeddingBackend;pub use llm_backend::LlmBackend;pub use llm_backend::LlmExtractorConfig;pub use llm_embedding::EmbeddingFlavour;pub use llm_embedding::LlmEmbedding;pub use llm_embedding::EMBEDDING_DIM as LLM_EMBEDDING_DIM;pub use none_backend::NoneBackend;
Modules§
- codex_
compat - Codex 0.134+ removed –ask-for-approval and -a. Detect version once at startup and cache the result.
- composite_
backend - Composite extraction backend (v1.0.75 — G21 orchestration)
- embedding_
backend - Embedding-based extraction backend (v1.0.75 — G21 legacy path)
- llm_
backend - LLM-based extraction backend (v1.0.75 — G21 + G23 solution)
- llm_
embedding - LLM-based embedding backend (v1.0.76 default).
- none_
backend - No-op extraction backend (v1.0.75 — G21 auxiliary)
Structs§
- Backend
Health - Health status of a backend.
- Extracted
Entity - Entity extracted from content.
- Extracted
Relationship - Relationship extracted from content.
- Extraction
Hints - Hint configuration forwarded to the extraction backend.
- Extraction
Output - Output of extraction backend.
Enums§
- Backend
Kind - Backend kind enumeration used for selection and telemetry.
Traits§
- Extraction
Backend - Trait abstraction for any extraction backend (LLM, Embedding, None, Composite).
Type Aliases§
- Shared
Backend - Type alias for shared backend references.