MemoryEntry

data class MemoryEntry(val content: Content, val id: String? = null, val author: String? = null, val timestamp: String? = null, val customMetadata: Map<String, Any> = emptyMap())

Represents one memory entry in the Vertex AI Memory Bank.

Constructors

Link copied to clipboard
constructor(content: Content, id: String? = null, author: String? = null, timestamp: String? = null, customMetadata: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
val author: String? = null

The author of the memory, or null if not set.

Link copied to clipboard

The main content of the memory.

Link copied to clipboard

Optional key-value metadata associated with this memory.

Link copied to clipboard
val id: String? = null

The unique identifier of the memory entry, or null if not yet persisted.

Link copied to clipboard
val timestamp: String? = null

The timestamp when the original content of this memory happened, or null if not set. Preferred format is ISO 8601 format.