EmbeddingState
data class EmbeddingState(val loading: Boolean = true, val source: ServerSource = ServerSource.AUTOMATIC1111, val error: ErrorState = ErrorState.None, val prompt: String = "", val negativePrompt: String = "", val embeddings: List<EmbeddingItemUi> = emptyList(), val selector: Boolean = true) : MviState(source)
Carries EmbeddingState data through the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(loading: Boolean = true, source: ServerSource = ServerSource.AUTOMATIC1111, error: ErrorState = ErrorState.None, prompt: String = "", negativePrompt: String = "", embeddings: List<EmbeddingItemUi> = emptyList(), selector: Boolean = true)
Properties
Link copied to clipboard
Exposes the embeddings value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the error value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the negativePrompt value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the source value used by the SDAI presentation layer.