KIROK_smart_retain
Evaluates content importance with LLM scoring and retains only high-value information based on a configurable threshold, enabling automatic curation of memory.
Instructions
Evaluate content importance before retaining. Uses LLM to score the content from 1-10 and only retains if score >= threshold.
Use this for bulk/automatic ingestion where you want the system to decide what's worth remembering.
Args: bank_id: Memory bank identifier. content: The information to potentially remember. context: Optional context about the source. timestamp: Optional ISO 8601 timestamp. threshold: Minimum importance score to retain (1-10, default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank_id | Yes | ||
| content | Yes | ||
| context | No | ||
| threshold | No | ||
| timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |