EmbeddingsLocalDataSource

Coordinates EmbeddingsLocalDataSource behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(dao: StableDiffusionEmbeddingDao)

Properties

Link copied to clipboard

Exposes the dao value used by the SDAI data layer.

Functions

Link copied to clipboard
open suspend override fun getEmbeddings(): List<Embedding>

Loads SDAI data through getEmbeddings.

Link copied to clipboard
open suspend override fun insertEmbeddings(list: List<Embedding>)

Performs the SDAI side effect handled by insertEmbeddings.