pub struct KnowledgeConfig {
pub ingest_provider: String,
pub concurrency: usize,
pub max_documents: usize,
pub recall_include_imported: bool,
pub transcript_scope: String,
}Expand description
Configuration for the zeph knowledge subsystem (spec-067 Phase 1).
Deserialised from the optional [knowledge] table in config.toml.
Missing fields fall back to Default values — no migration required for
existing configs that omit the section entirely.
Fields§
§ingest_provider: StringProvider name from [[llm.providers]] used for graph extraction (Phase 2).
Empty string → fall back to [memory.graph].extract_provider → primary provider.
The notes-sink (Phase 1) does not perform LLM calls; this field is reserved for
Phase 2 graph extraction and ignored until then.
concurrency: usizeMaximum number of concurrent document-processing tasks during batch extraction (Phase 2).
Has no effect in Phase 1 (notes sink processes files sequentially via
IngestionPipeline). Stored now for config stability.
max_documents: usizeMaximum number of documents processed per ingest run; 0 = unlimited.
The CLI --max-documents flag overrides this value when non-zero.
Bounds cost per run (spec-067 NFR-002).
recall_include_imported: boolWhether semantic-recall results include rows imported via zeph knowledge ingest.
When false, only conversation-derived memory rows are surfaced.
Phase 2 recall integration honours this flag; Phase 1 notes-sink writes use it
only to document intent.
transcript_scope: StringScope of transcript sources eligible for ingest.
Only "current-project" is honoured in Phase 1 (INV-6: project-root-anchored
sources only). Other values are reserved for future cross-project modes.
Trait Implementations§
Source§impl Clone for KnowledgeConfig
impl Clone for KnowledgeConfig
Source§fn clone(&self) -> KnowledgeConfig
fn clone(&self) -> KnowledgeConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KnowledgeConfig
impl Debug for KnowledgeConfig
Source§impl Default for KnowledgeConfig
impl Default for KnowledgeConfig
Source§impl<'de> Deserialize<'de> for KnowledgeConfigwhere
KnowledgeConfig: Default,
impl<'de> Deserialize<'de> for KnowledgeConfigwhere
KnowledgeConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for KnowledgeConfig
Source§impl PartialEq for KnowledgeConfig
impl PartialEq for KnowledgeConfig
Source§impl Serialize for KnowledgeConfig
impl Serialize for KnowledgeConfig
impl StructuralPartialEq for KnowledgeConfig
Auto Trait Implementations§
impl Freeze for KnowledgeConfig
impl RefUnwindSafe for KnowledgeConfig
impl Send for KnowledgeConfig
impl Sync for KnowledgeConfig
impl Unpin for KnowledgeConfig
impl UnsafeUnpin for KnowledgeConfig
impl UnwindSafe for KnowledgeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.