DemoFeature

internal interface DemoFeature<T>(source)

Defines the DemoFeature contract for the SDAI demo layer.

Author

Dmitriy Moroz

Inheritors

Types

Link copied to clipboard
object Companion

Provides the companion object singleton used by the SDAI demo layer.

Properties

Link copied to clipboard

Exposes the demoDataSerializer value used by the SDAI demo layer.

Functions

Link copied to clipboard
open suspend fun execute(input: T): AiGenerationResult

Executes the execute step in the SDAI demo layer.

Link copied to clipboard
abstract fun mapper(input: T, base64: String): AiGenerationResult

Converts SDAI data with mapper.