Share via


MongoDBMemoryEntry Class

Definition

A MongoDB memory entry.

public sealed class MongoDBMemoryEntry
type MongoDBMemoryEntry = class
Public NotInheritable Class MongoDBMemoryEntry
Inheritance
MongoDBMemoryEntry

Constructors

MongoDBMemoryEntry(MemoryRecord)

Initializes a new instance of the MongoDBMemoryEntry class.

Properties

Embedding

Source content embedding.

Id

Unique identifier of the memory entry.

Metadata

Metadata associated with memory entity.

Score

Nearest match score.

Timestamp

Optional timestamp.

Methods

ToMemoryRecord()

Returns mapped MemoryRecord.

ToMemoryRecordAndScore()

Returns a pair of mapped MemoryRecord and score.

Applies to