summarize_and_store
Summarizes conversation content using the host AI and stores the summary as a session memory, capturing user preferences and key facts without needing an external API key.
Instructions
Request the host AI to summarize conversation content, then store the summary as a session_summary memory. This implements the 'borrow host LLM' pattern: CarryMem returns the content that needs summarizing, the host AI generates a concise summary focusing on user preferences, decisions, and key facts, then calls classify_and_remember or declare_preference to store it. No external LLM API key needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID to summarize | |
| max_tokens | No | Maximum tokens of content to return for summarization (default 2000) | |
| namespace | No | Namespace for the stored summary (default 'default') | default |