Table of Contents

Class RagEngine.TextPartitionSimilarity

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

Represents the result of a text retrieval operation, encapsulating the similarity measure between a text partition and a specific content.

public sealed class RagEngine.TextPartitionSimilarity
Inheritance
RagEngine.TextPartitionSimilarity
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.

Text

Gets the original text content of the partition. This property provides access to the text segment that this partition represents.

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.

SectionIdentifier

Gets the identifier for the section containing the text partition.

Similarity

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