Table of Contents

Constructor EdgeVectorStore

Namespace
Qavren.Edge.VectorData
Assembly
Qavren.Edge.VectorData.dll

EdgeVectorStore(IEdgeDatabase, EdgeVectorStoreOptions?, IEmbeddingGenerator?, IEmbeddingGenerator?, ILoggerFactory?)

Creates the store.

public EdgeVectorStore(IEdgeDatabase database, EdgeVectorStoreOptions? options = null, IEmbeddingGenerator? embeddingGenerator = null, IEmbeddingGenerator? queryEmbeddingGenerator = null, ILoggerFactory? loggerFactory = null)

Parameters

database IEdgeDatabase

The sub-project 1 database every collection lives in.

options EdgeVectorStoreOptions

Store-wide defaults. Null takes every default.

embeddingGenerator IEmbeddingGenerator

The DI seam. AddVectorStore passes the container's registered IEmbeddingGenerator here, and it is used only when EmbeddingGenerator is still null - an explicitly-set option always wins. Without this parameter the flagship four-call path would register a generator the store could never see, and a string source property would fail with EmbeddingGeneratorMissing on the first upsert.

queryEmbeddingGenerator IEmbeddingGenerator

The generator that embeds a search value, applied only when QueryEmbeddingGenerator is still null.

loggerFactory ILoggerFactory

Receives collection and hybrid-search events (800-802).