Table of Contents

Class PartitionSimilarity

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

Represents the result of a retrieval operation, capturing the similarity between a partition (or vector entry) and a target item.

public sealed class PartitionSimilarity
Inheritance
PartitionSimilarity
Inherited Members

Fields

Embeddings

Gets a read-only list of embedding vectors generated for the text partition.

PartitionIndex

Gets the index of the partition in its container Section object.

Properties

DataSourceIdentifier

Gets the unique identifier of the data source from which the text partition originates.

Metadata

Gets the collection of metadata associated with this text partition similarity result.

Payload

The optional raw payload from which the vector embedding was generated.

RawSimilarity

Gets the base similarity score prior to any optional reranking.

RerankScore

Gets the similarity score after applying a reranking model to this partition.

SectionIdentifier

Gets the identifier for the section containing the text partition.

Similarity

Gets the similarity score between the associated TextPartition and a specific content.