Table of Contents

Class VectorRecord

Namespace
Mythosia.VectorDb
Assembly
Mythosia.VectorDb.Abstractions.dll

A record stored in a vector store, containing the embedding vector, content, and metadata.

public class VectorRecord
Inheritance
VectorRecord
Inherited Members

Constructors

VectorRecord()

public VectorRecord()

VectorRecord(string, float[], string)

public VectorRecord(string id, float[] vector, string content)

Parameters

id string
vector float[]
content string

Properties

Content

The original text content associated with this vector.

public string Content { get; set; }

Property Value

string

Id

Unique identifier for this record.

public string Id { get; set; }

Property Value

string

Metadata

Arbitrary key-value metadata for filtering and display.

public Dictionary<string, string> Metadata { get; set; }

Property Value

Dictionary<string, string>

Vector

The embedding vector.

public float[] Vector { get; set; }

Property Value

float[]