Class MemoryStore
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.common.FlattenResultBase
com.alibaba.dashscope.applications.agentstudio.model.MemoryStore
A workspace-scoped memory store: a collection of small text documents that persists across
sessions.
Stores are attached to sessions via the session resources[] array and mounted into the
session container at /mnt/memory/<name>/. archivedAt is set once the store is
archived: read-only afterwards, existing session attachments keep working, but new sessions
cannot reference it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()getName()getType()inthashCode()voidsetArchivedAt(String archivedAt) voidsetCreatedAt(String createdAt) voidsetDescription(String description) voidvoidsetMetadata(Map<String, Object> metadata) voidvoidvoidsetUpdatedAt(String updatedAt) toString()Methods inherited from class com.alibaba.dashscope.applications.agentstudio.common.FlattenResultBase
fromDashScopeResult, getRequestId, setRequestId
-
Constructor Details
-
MemoryStore
public MemoryStore()
-
-
Method Details
-
getId
-
getType
-
getName
-
getDescription
-
getMetadata
-
getArchivedAt
-
getCreatedAt
-
getUpdatedAt
-
setId
-
setType
-
setName
-
setDescription
-
setMetadata
-
setArchivedAt
-
setCreatedAt
-
setUpdatedAt
-
toString
- Overrides:
toStringin classFlattenResultBase
-
equals
- Overrides:
equalsin classFlattenResultBase
-
canEqual
- Overrides:
canEqualin classFlattenResultBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classFlattenResultBase
-