Table of Contents

Namespace LMKit.Data

Classes

DataSource

Represents a repository for various data sources, encapsulating the content from diverse sources such as documents, web pages, and other data-rich environments.
This class provides a unified interface to interact with different types of data in a consistent manner.

Metadata

Represents a single metadata entry consisting of a key and a value. This class is used to store additional information in a structured form.

MetadataCollection

Represents a collection of metadata entries, each consisting of a key and a value.
This class provides methods to manage metadata efficiently, allowing addition, removal, and queries based on keys.

Section

Represents a section of a DataSource repository, encapsulating a unique segment that contains text partitions and associated metadata.

TextPartition

Represents a text partition (or chunk of text) of a Section.
This class encapsulates the text details such as tokens, embeddings, and the mode used for splitting.

Enums

ElementType

Enumerates the various data types that an element can represent, including primitive types, arrays, and complex objects.

SplitMode

Specifies different splitting modes that can be used during text partitioning operations.