TextMemoryPlugin.RemoveAsync(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Remove specific memory
[Microsoft.SemanticKernel.KernelFunction]
public System.Threading.Tasks.Task RemoveAsync(string key, string collection = "generic", System.Threading.CancellationToken cancellationToken = default);
[<Microsoft.SemanticKernel.KernelFunction>]
member this.RemoveAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveAsync (key As String, Optional collection As String = "generic", Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- key
- String
The key associated with the information to save
- collection
- String
Memories collection associated with the information to save
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.
Returns
- Attributes