-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
M28Milestone 28: VectorStore AbstractionMilestone 28: VectorStore AbstractionllmLLM provider relatedLLM provider relatedmemoryPersistence and memoryPersistence and memory
Description
Problem
Summarization currently produces free-form text. Key facts and entities are not separately addressable for semantic search or retrieval.
Solution
Use chat_typed to produce structured summaries:
#[derive(Deserialize, JsonSchema)]
struct StructuredSummary {
summary: String,
key_facts: Vec<String>,
entities: Vec<String>,
}Store key_facts and entities as separate Qdrant points for better retrieval. The summary field replaces the current free-form output.
Acceptance criteria
StructuredSummarystruct withJsonSchemaderive- Updated
summarize()inSemanticMemoryto usechat_typed - Individual key facts stored as Qdrant points
- Fallback to plain text summary if structured parsing fails
- Unit tests with MockProvider
Part of Epic #549
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
M28Milestone 28: VectorStore AbstractionMilestone 28: VectorStore AbstractionllmLLM provider relatedLLM provider relatedmemoryPersistence and memoryPersistence and memory