Table of Contents

Namespace LMKit.TextGeneration.Events

Classes

AfterTextCompletionEventArgs

Provides details for the event that occurs after a text completion operation.

AfterTokenSamplingEventArgs

Provides data for the event that is raised after a token has been selected (sampled) by the text generation process.

BeforeTokenSamplingEventArgs

Provides details for the event that occurs before a token sampling operation.

MemoryRecallEventArgs

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.