Interface EmbeddingGeneration<TValue,TEmbedding extends Number>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEmbeddingGeneration.Builder<TValue,TEmbedding extends Number>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<List<Embedding<TEmbedding>>>generateEmbeddingsAsync(List<TValue> data)Generates a list of embeddings associated to the data
-
-
-
Method Detail
-
generateEmbeddingsAsync
reactor.core.publisher.Mono<List<Embedding<TEmbedding>>> generateEmbeddingsAsync(List<TValue> data)
Generates a list of embeddings associated to the data- Parameters:
data- List of texts to generate embeddings for- Returns:
- List of embeddings of each data point
-
-