HordeGenerationRepository

Defines the HordeGenerationRepository contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard

Executes the generateFromImage step in the SDAI domain layer.

Link copied to clipboard

Executes the generateFromText step in the SDAI domain layer.

Link copied to clipboard
abstract suspend fun interruptGeneration()

Performs the SDAI side effect handled by interruptGeneration.

Link copied to clipboard
abstract fun observeStatus(): Flow<HordeProcessStatus>

Loads SDAI data through observeStatus.

Link copied to clipboard
abstract suspend fun validateApiKey(): Boolean

Executes the validateApiKey step in the SDAI domain layer.