Table of Contents

Class MemoryRecallEventArgs

Namespace
LMKit.TextGeneration.Events
Assembly
LM-Kit.NET.dll

Provides data for the MemoryRecall event.

This event is raised when memory is being recalled to augment a conversation. Subscribers can inspect details such as the memory collection, the recalled text, and a unique identifier. They also have the option to cancel the integration of this memory by setting the Cancel property.

public class MemoryRecallEventArgs : EventArgs
Inheritance
MemoryRecallEventArgs
Inherited Members

Properties

Cancel

Gets or sets a value indicating whether the recalled memory should be cancelled and not integrated into the conversation.

Set this property to true to skip incorporating this memory partition.

MemoryCollection

Gets the identifier of the memory collection from which the memory partition originates.

MemoryId

Gets the unique identifier of the recalled memory section.

MemoryText

Gets the text content of the recalled memory partition.

Metadata

Gets the optional metadata associated with the recalled memory section.

Prefix

Gets or sets an optional prefix that can be placed before the inserted recall content.

This property is empty by default.