@@ -151,18 +151,23 @@ async def invoke(payload, context):
151151
152152## Memory Strategies
153153
154- | Strategy | Description |
155- | ----------------- | ------------------------------------------------------- |
156- | ` SEMANTIC ` | Vector-based similarity search for relevant context |
157- | ` SUMMARIZATION ` | Compressed conversation history |
158- | ` USER_PREFERENCE ` | Store user-specific preferences and settings |
159- | ` EPISODIC ` | Capture and reflect on meaningful interaction episodes |
154+ | Strategy | Description |
155+ | ----------------- | ------------------------------------------------------ |
156+ | ` SEMANTIC ` | Vector-based similarity search for relevant context |
157+ | ` SUMMARIZATION ` | Compressed conversation history |
158+ | ` USER_PREFERENCE ` | Store user-specific preferences and settings |
159+ | ` EPISODIC ` | Capture and reflect on meaningful interaction episodes |
160160
161161You can combine multiple strategies:
162162
163163``` json
164164{
165- "strategies" : [{ "type" : " SEMANTIC" }, { "type" : " SUMMARIZATION" }, { "type" : " USER_PREFERENCE" }, { "type" : " EPISODIC" }]
165+ "strategies" : [
166+ { "type" : " SEMANTIC" },
167+ { "type" : " SUMMARIZATION" },
168+ { "type" : " USER_PREFERENCE" },
169+ { "type" : " EPISODIC" }
170+ ]
166171}
167172```
168173
@@ -179,13 +184,13 @@ Each strategy can have optional configuration:
179184}
180185```
181186
182- | Field | Required | Description |
183- | ----------------------- | ----------------- | --------------------------------------------------------- |
184- | ` type ` | Yes | Strategy type |
185- | ` name ` | No | Custom name (defaults to ` <memoryName>-<type> ` ) |
186- | ` description ` | No | Strategy description |
187- | ` namespaces ` | No | Array of namespace paths for scoping |
188- | ` reflectionNamespaces ` | EPISODIC only | Namespaces for cross-episode reflections (must be a prefix of ` namespaces ` ) |
187+ | Field | Required | Description |
188+ | ---------------------- | ------------- | ------------------ --------------------------------------------------------- |
189+ | ` type ` | Yes | Strategy type |
190+ | ` name ` | No | Custom name (defaults to ` <memoryName>-<type> ` ) |
191+ | ` description ` | No | Strategy description |
192+ | ` namespaces ` | No | Array of namespace paths for scoping |
193+ | ` reflectionNamespaces ` | EPISODIC only | Namespaces for cross-episode reflections (must be a prefix of ` namespaces ` ) |
189194
190195## Event Expiry
191196
0 commit comments