Partager via


IVectorStoreRecordMapper<TRecordDataModel,TStorageModel>.MapFromStorageToDataModel Method

Definition

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

public TRecordDataModel MapFromStorageToDataModel (TStorageModel storageModel, Microsoft.SemanticKernel.Data.StorageToDataModelMapperOptions options);
abstract member MapFromStorageToDataModel : 'StorageModel * Microsoft.SemanticKernel.Data.StorageToDataModelMapperOptions -> 'RecordDataModel
Public Function MapFromStorageToDataModel (storageModel As TStorageModel, options As StorageToDataModelMapperOptions) As TRecordDataModel

Parameters

storageModel
TStorageModel

The storage data model record to map.

options
StorageToDataModelMapperOptions

Options to control the mapping behavior.

Returns

TRecordDataModel

The mapped result.

Applies to