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. fromJsonMetadata(String json, Embedding embedding, String key, ZonedDateTime timestamp)static MemoryRecordMemoryRecord. fromMetadata(MemoryRecordMetadata metadata, Embedding 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 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 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,Float>>MemoryStore. getNearestMatchAsync(String collectionName, Embedding embedding, float minRelevanceScore, boolean withEmbedding)Gets the nearest match to theEmbeddingof typeFloat.reactor.core.publisher.Mono<Collection<reactor.util.function.Tuple2<MemoryRecord,Float>>>MemoryStore. getNearestMatchesAsync(String collectionName, Embedding embedding, int limit, float 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.
-