Skip to main content

Module semantic

Module semantic 

Source

Structs§

ExtractionResult
Result returned from extract_and_store, combining stats with entity IDs needed for linking.
ExtractionStats
Stats returned from a completed extraction.
GraphExtractionConfig
Config for the spawned background extraction task.
LinkingStats
Stats returned from a completed note-linking pass.
NoteLinkingConfig
Config for A-MEM dynamic note linking, owned by the spawned extraction task.
RecalledMessage
SemanticMemory
SessionSummaryResult
StructuredSummary
Summary

Functions§

apply_mmr
apply_temporal_decay
build_summarization_prompt
extract_and_store
Extract entities and edges from content and persist them to the graph store.
link_memory_notes
Link newly extracted entities to semantically similar entities in the graph.

Type Aliases§

PostExtractValidator
Callback type for post-extraction validation.