MemoryIngestionOptions
Properties
Section titled “Properties”metadata?
Section titled “metadata?”optional metadata?: Record<string, unknown>;Custom metadata to attach to all memories from this session
strategy?
Section titled “strategy?”optional strategy?: "summarize" | "raw" | "extract";Ingestion strategy:
- ‘raw’: Store message content as-is (default for InMemoryMemoryService)
- ‘summarize’: Use LLM to summarize the session before storing
- ‘extract’: Use LLM to extract individual facts/entities