Uses of Class
com.microsoft.semantickernel.memory.MemoryRecord
-
Packages that use MemoryRecord Package Description com.microsoft.semantickernel.memory -
-
Uses of MemoryRecord in com.microsoft.semantickernel.memory
Methods in com.microsoft.semantickernel.memory that return MemoryRecord 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.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.Methods in com.microsoft.semantickernel.memory that return types with arguments of type MemoryRecord Modifier and Type Method Description reactor.core.publisher.Mono<MemoryRecord>MemoryStore. getAsync(String collectionName, String key, boolean withEmbedding)Gets a memory record from the data store.reactor.core.publisher.Mono<Collection<MemoryRecord>>MemoryStore. getBatchAsync(String collectionName, Collection<String> keys, boolean withEmbeddings)Gets a batch of memory records from the data store.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.Methods in com.microsoft.semantickernel.memory with parameters of type MemoryRecord Modifier and Type Method Description reactor.core.publisher.Mono<String>MemoryStore. upsertAsync(String collectionName, MemoryRecord record)Upserts a memory record into the data store.Method parameters in com.microsoft.semantickernel.memory with type arguments of type MemoryRecord Modifier and Type Method Description reactor.core.publisher.Mono<Collection<String>>MemoryStore. upsertBatchAsync(String collectionName, Collection<MemoryRecord> records)Upserts a group of memory records into the data store.
-