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())

Types

Link copied to clipboard
class Builder

Fluent builder for MemoryEntry, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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?

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

Link copied to clipboard

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