EmbeddingViewModel
class EmbeddingViewModel(val dispatchersProvider: DispatchersProvider, val fetchAndGetEmbeddingsUseCase: FetchAndGetEmbeddingsUseCase, val preferenceManager: PreferenceManager, prompt: String, negativePrompt: String, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<EmbeddingState, EmbeddingIntent, ExtrasEffect> (source)
Coordinates EmbeddingViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, fetchAndGetEmbeddingsUseCase: FetchAndGetEmbeddingsUseCase, preferenceManager: PreferenceManager, prompt: String, negativePrompt: String, onError: (Throwable) -> Unit = {})
Properties
Link copied to clipboard
Link copied to clipboard
Exposes the dispatchersProvider value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the fetchAndGetEmbeddingsUseCase value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the preferenceManager value used by the SDAI presentation layer.
Link copied to clipboard