Skip to main content

Module extract

Module extract 

Source
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 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; reworked in v1.0.79 G42).
none_backend
No-op extraction backend (v1.0.75 — G21 auxiliary)

Structs§

BackendHealth
Health status of a backend.
ExtractedEntity
Entity extracted from content.
ExtractedRelationship
Relationship extracted from content.
ExtractionHints
Hint configuration forwarded to the extraction backend.
ExtractionOutput
Output of extraction backend.

Enums§

BackendKind
Backend kind enumeration used for selection and telemetry.

Traits§

ExtractionBackend
Trait abstraction for any extraction backend (LLM, Embedding, None, Composite).

Type Aliases§

SharedBackend
Type alias for shared backend references.