IVectorStoreRecordMapper<TRecordDataModel,TStorageModel> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |