UpdateMemoryStore
Modifies a memory store.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UpdateMemoryStore |
update |
*MemoryStore
|
None | None |
Request syntax
PUT /workspace/{workspace}/memorystore/{memoryStoreName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The name of the workspace. |
workspace-test |
| memoryStoreName |
string |
Yes |
The name of the memory store. |
qianyi_test_3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request data. |
|
| description |
string |
No |
The description. |
memoryStore test |
| shortTermTtl |
integer |
No |
The retention period for short-term memory. |
7 |
| extractionStrategies |
array |
No |
The extraction strategies. Valid values: Episodic, Summary, and Fact. |
|
|
string |
No |
The array of strategies. |
Fact |
|
| customExtractionStrategies |
array |
No |
The custom extraction strategies. |
|
| CustomExtractionStrategy |
No |
The array of strategies. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID. |
0CEC5375-C554-562B-A65F-9A629907C1F0 |
Examples
Success response
JSON format
{
"requestId": "0CEC5375-C554-562B-A65F-9A629907C1F0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.