IVectorStoreRecordMapper<TRecordDataModel,TStorageModel> Interface

Definition

Interface for mapping between a storage model, and the consumer record data model.

C#
public interface IVectorStoreRecordMapper<TRecordDataModel,TStorageModel>

Type Parameters

TRecordDataModel

The consumer record data model to map to or from.

TStorageModel

The storage model to map to or from.

Methods

MapFromDataToStorageModel(TRecordDataModel)

Map from the consumer record data model to the storage model.

MapFromStorageToDataModel(TStorageModel, StorageToDataModelMapperOptions)

Map from the storage model to the consumer record data model.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)