Uses of Class
com.microsoft.semantickernel.ai.embeddings.Embedding
-
Packages that use Embedding Package Description com.microsoft.semantickernel.ai.embeddings com.microsoft.semantickernel.memory -
-
Uses of Embedding in com.microsoft.semantickernel.ai.embeddings
Methods in com.microsoft.semantickernel.ai.embeddings that return Embedding Modifier and Type Method Description static <EmbeddingType extends Number>
Embedding<EmbeddingType>Embedding. empty()Methods in com.microsoft.semantickernel.ai.embeddings that return types with arguments of type Embedding Modifier and Type Method Description reactor.core.publisher.Mono<List<Embedding<TEmbedding>>>EmbeddingGeneration. generateEmbeddingsAsync(List<TValue> data)Generates a list of embeddings associated to the data -
Uses of Embedding in com.microsoft.semantickernel.memory
Methods in com.microsoft.semantickernel.memory that return Embedding Modifier and Type Method Description Embedding<? extends Number>MemoryRecord. getEmbedding()Gets the source content embeddings.Methods in com.microsoft.semantickernel.memory with parameters of type Embedding Modifier and Type Method Description static MemoryRecordMemoryRecord. fromMetadata(MemoryRecordMetadata metadata, Embedding<Float> embedding, String key, ZonedDateTime timestamp)Create a memory record from a memory record's metadata.reactor.core.publisher.Mono<reactor.util.function.Tuple2<MemoryRecord,? extends Number>>MemoryStore. getNearestMatchAsync(String collectionName, Embedding<? extends Number> embedding, double minRelevanceScore, boolean withEmbedding)Gets the nearest match to theEmbeddingof typeFloat.reactor.core.publisher.Mono<Collection<reactor.util.function.Tuple2<MemoryRecord,Number>>>MemoryStore. getNearestMatchesAsync(String collectionName, Embedding<? extends Number> embedding, int limit, double minRelevanceScore, boolean withEmbeddings)Gets the nearest matches to theEmbeddingof typeFloat.static MemoryRecordMemoryRecord. localRecord(String id, String text, String description, Embedding<Float> embedding, String additionalMetadata, String key, ZonedDateTime timestamp)Prepare an instance for a memory stored in the internal storage provider.static MemoryRecordMemoryRecord. referenceRecord(String externalId, String sourceName, String description, Embedding<Float> embedding, String additionalMetadata, String key, ZonedDateTime timestamp)Prepare an instance about a memory which source is stored externally.Constructors in com.microsoft.semantickernel.memory with parameters of type Embedding Constructor Description MemoryRecord(MemoryRecordMetadata metadata, Embedding<? extends Number> embedding, String key, ZonedDateTime timestamp)Creates an instance of aMemoryRecord.
-