HuggingFaceModelsRepositoryImpl

Implements HuggingFaceModelsRepository behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(remoteDataSource: HuggingFaceModelsRemoteDataSource, localDataSource: HuggingFaceModelsDataSource.Local)

Properties

Link copied to clipboard

Exposes the localDataSource value used by the SDAI data layer.

Link copied to clipboard

Exposes the remoteDataSource value used by the SDAI data layer.

Functions

Link copied to clipboard
open suspend override fun fetchAndGetHuggingFaceModels(): List<HuggingFaceModel>

Loads SDAI data through fetchAndGetHuggingFaceModels.

Link copied to clipboard
open suspend override fun fetchHuggingFaceModels()

Loads SDAI data through fetchHuggingFaceModels.

Link copied to clipboard
open suspend override fun getHuggingFaceModels(): List<HuggingFaceModel>

Loads SDAI data through getHuggingFaceModels.

Link copied to clipboard

Executes the supportedHfInferenceModels step in the SDAI data layer.