Index Conversation to Memory
Save recent Q&A pairs to the index.
Arguments
- If
$ARGUMENTSis a number: save that many Q&A pairs - If
$ARGUMENTSis empty: save the most recent 1 Q&A pair
Count: $ARGUMENTS (default: 1)
Steps
- Identify the recent Q&A pairs (specified count)
- Call store_memory with the formatted content
Format
Content must be in this format:
Human: User's question
Assistant: Claude's response
For multiple pairs, concatenate them.
Example
[Description truncada. Veja o README completo no GitHub.]