-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Parent issue: #16
MM-5C: Finalize model and metadata contract
Problem
The base model already has some multimodal fields, but the write/read contract is not fully standardized and emotional_profile is missing.
Repo impact
models/base.pymodels/episodic.pystores/semantic_store.pystores/episodic_store.py- serialization code in
api/app.py
Tasks
- keep
modalitydefaulting to"text" - standardize allowed modality values:
text,image,audio,video,multimodal - preserve
media_refandmedia_type - add
emotional_profile: dict[str, float]toEpisodicMemory - serialize nested emotional profile safely for Chroma metadata
- decide whether
source_mime_typeremains separate or is collapsed intomedia_type - add
has_mediaderivation for events
Acceptance criteria
- semantic and episodic records round-trip the new fields
- plain text records still default to
modality="text"andmedia_ref=None - emotional profile round-trips without violating Chroma metadata constraints
Risks
- Chroma metadata is primitive-only, so dict storage needs JSON or flattening
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels