MemoryRecord

data class MemoryRecord(val content: String, val id: String? = null, val metadata: JsonObject? = null, val timestamp: Instant? = null)(source)

Represents a memory record that can be stored in a vector database.

Constructors

Link copied to clipboard
constructor(content: String, id: String? = null, metadata: JsonObject? = null, timestamp: Instant? = null)

Properties

Link copied to clipboard

The main textual content to be embedded and searched

Link copied to clipboard
val id: String?

Unique identifier for the record

Link copied to clipboard

Flexible key-value metadata for filtering and custom fields

Link copied to clipboard

Timestamp indicating when the memory record was created