Partager via


IVectorStoreRecordMapper<TRecordDataModel,TStorageModel> Interface

Definition

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

public interface IVectorStoreRecordMapper<TRecordDataModel,TStorageModel> where TRecordDataModel : class
type IVectorStoreRecordMapper<'RecordDataModel, 'StorageModel (requires 'RecordDataModel : null)> = interface
Public Interface IVectorStoreRecordMapper(Of 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