KeyValueConfigurationStore

Coordinates KeyValueConfigurationStore behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(keyValueStore: KeyValueStore)

Types

Link copied to clipboard
private object Companion

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

Properties

Link copied to clipboard
open override var automatic1111ServerUrl: String

Exposes the automatic1111ServerUrl value used by the SDAI data layer.

Link copied to clipboard
open override var demoMode: Boolean

Exposes the demoMode value used by the SDAI data layer.

Link copied to clipboard
open override var hordeApiKey: String

Exposes the hordeApiKey value used by the SDAI data layer.

Link copied to clipboard
open override var huggingFaceApiKey: String

Exposes the huggingFaceApiKey value used by the SDAI data layer.

Link copied to clipboard
open override var huggingFaceModel: String

Exposes the huggingFaceModel value used by the SDAI data layer.

Link copied to clipboard

Exposes the keyValueStore value used by the SDAI data layer.

Link copied to clipboard
open override var localMediaPipeModelId: String

Exposes the localMediaPipeModelId value used by the SDAI data layer.

Link copied to clipboard
open override var localMediaPipeModelPath: String

Exposes the localMediaPipeModelPath value used by the SDAI data layer.

Link copied to clipboard
open override var localOnnxModelId: String

Exposes the localOnnxModelId value used by the SDAI data layer.

Link copied to clipboard
open override var localOnnxModelPath: String

Exposes the localOnnxModelPath value used by the SDAI data layer.

Link copied to clipboard
open override var openAiApiKey: String

Exposes the openAiApiKey value used by the SDAI data layer.

Link copied to clipboard
open override var source: ServerSource

Exposes the source value used by the SDAI data layer.

Link copied to clipboard
open override var stabilityAiApiKey: String

Exposes the stabilityAiApiKey value used by the SDAI data layer.

Link copied to clipboard
open override var stabilityAiEngineId: String

Exposes the stabilityAiEngineId value used by the SDAI data layer.

Link copied to clipboard
open override var swarmUiModel: String

Exposes the swarmUiModel value used by the SDAI data layer.

Link copied to clipboard
open override var swarmUiServerUrl: String

Exposes the swarmUiServerUrl value used by the SDAI data layer.

Functions

Link copied to clipboard
private fun String.fixUrlSlashes(): String

Executes the fixUrlSlashes step in the SDAI data layer.

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