HuggingFaceModelDao

Defines the HuggingFaceModelDao contract for the SDAI storage layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun deleteAll()

Performs the SDAI side effect handled by deleteAll.

Link copied to clipboard
abstract suspend fun insert(item: HuggingFaceModelEntity)

Performs the SDAI side effect handled by insert.

Link copied to clipboard
abstract suspend fun insertList(items: List<HuggingFaceModelEntity>)

Performs the SDAI side effect handled by insertList.

Link copied to clipboard
abstract suspend fun query(): List<HuggingFaceModelEntity>

Executes the query step in the SDAI storage layer.

Link copied to clipboard
abstract suspend fun queryById(id: String): HuggingFaceModelEntity

Executes the queryById step in the SDAI storage layer.