Partager via


ISemanticTextMemory Interface

Definition

An interface for semantic memory that creates and recalls memories associated with text.

public interface ISemanticTextMemory
type ISemanticTextMemory = interface
Public Interface ISemanticTextMemory
Derived

Methods

GetAsync(String, String, Boolean, Kernel, CancellationToken)

Fetch a memory by key. For local memories the key is the "id" used when saving the record. For external reference, the key is the "URI" used when saving the record.

GetCollectionsAsync(Kernel, CancellationToken)

Gets a group of all available collection names.

RemoveAsync(String, String, Kernel, CancellationToken)

Remove a memory by key. For local memories the key is the "id" used when saving the record. For external reference, the key is the "URI" used when saving the record.

SaveInformationAsync(String, String, String, String, String, Kernel, CancellationToken)

Save some information into the semantic memory, keeping a copy of the source information.

SaveReferenceAsync(String, String, String, String, String, String, Kernel, CancellationToken)

Save some information into the semantic memory, keeping only a reference to the source information.

SearchAsync(String, String, Int32, Double, Boolean, Kernel, CancellationToken)

Find some information in memory

Applies to