Set Variable
rlm_set_variableSave intermediate results during recursive language model processing by storing variables in the session for later retrieval.
Instructions
Store a variable in the session for later use.
Use this to save intermediate results during RLM processing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Variable name | |
| value | No | Variable value (any JSON-serializable value) | |
| session_id | No | Session ID |