ConfigurationStore

Defines the ConfigurationStore contract for the SDAI domain layer.

Author

Dmitriy Moroz

Properties

Link copied to clipboard

Exposes the automatic1111ServerUrl value used by the SDAI domain layer.

Link copied to clipboard
abstract var demoMode: Boolean

Exposes the demoMode value used by the SDAI domain layer.

Link copied to clipboard
abstract var hordeApiKey: String

Exposes the hordeApiKey value used by the SDAI domain layer.

Link copied to clipboard

Exposes the huggingFaceApiKey value used by the SDAI domain layer.

Link copied to clipboard
abstract var huggingFaceModel: String

Exposes the huggingFaceModel value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localMediaPipeModelId value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localMediaPipeModelPath value used by the SDAI domain layer.

Link copied to clipboard
abstract var localOnnxModelId: String

Exposes the localOnnxModelId value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localOnnxModelPath value used by the SDAI domain layer.

Link copied to clipboard
abstract var openAiApiKey: String

Exposes the openAiApiKey value used by the SDAI domain layer.

Link copied to clipboard
abstract var source: ServerSource

Exposes the source value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stabilityAiApiKey value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stabilityAiEngineId value used by the SDAI domain layer.

Link copied to clipboard
abstract var swarmUiModel: String

Exposes the swarmUiModel value used by the SDAI domain layer.

Link copied to clipboard
abstract var swarmUiServerUrl: String

Exposes the swarmUiServerUrl value used by the SDAI domain layer.

Functions

Link copied to clipboard

Loads SDAI data through getConfiguration.

Link copied to clipboard
open fun setConfiguration(configuration: Configuration)

Executes the setConfiguration step in the SDAI domain layer.