Table of Contents

Class VectorSearch

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

Provides methods for searching partitions across one or more data sources by comparing vector embeddings for similarity.

public static class VectorSearch
Inheritance
VectorSearch
Inherited Members

Methods

FindMatchingPartitions(IEnumerable<DataSource>, float[], int, float, bool, bool, DataFilter, CancellationToken)
FindMatchingPartitionsAsync(IEnumerable<DataSource>, float[], int, float, bool, bool, DataFilter, CancellationToken)

Asynchronously finds the top matching partitions from the given data sources based on cosine similarity to the provided query vector.