tinycortex 0.1.1

Rust core for the TinyCortex memory system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Entity extraction (Phase 2 / #708).
//!
//! Exposes [`EntityExtractor`] as a pluggable interface and a default
//! [`CompositeExtractor`] that runs a chain of extractors and merges their
//! output. The mechanical regex extractor is always available; semantic NER
//! ([`LlmEntityExtractor`]) plugs in behind the [`llm::ChatProvider`] trait
//! without changing any call sites — and the crate never calls a real model.

#[path = "composite.rs"]
mod composite;
pub mod llm;
pub mod regex;
#[path = "types.rs"]
pub mod types;

pub use composite::{CompositeExtractor, EntityExtractor, RegexEntityExtractor};
pub use llm::{ChatPrompt, ChatProvider, LlmEntityExtractor, LlmExtractorConfig};
pub use types::{EntityKind, ExtractedEntities, ExtractedEntity, ExtractedTopic};