Interface EmbeddingGeneration<TValue>
-
- All Known Subinterfaces:
TextEmbeddingGeneration
public interface EmbeddingGeneration<TValue> extends AIService, Buildable
Interface for text embedding generation services
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEmbeddingGeneration.Builder<TValue>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static EmbeddingGeneration.Builderbuilder()reactor.core.publisher.Mono<List<Embedding>>generateEmbeddingsAsync(List<TValue> data)Generates a list of embeddings associated to the data
-
-
-
Method Detail
-
generateEmbeddingsAsync
reactor.core.publisher.Mono<List<Embedding>> 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
-
builder
static EmbeddingGeneration.Builder builder()
-
-