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.
- AfterToolInvocationEventArgs
Raised after a tool invocation completes (or is cancelled), providing the ToolCallResult returned to the model.
- BeforeTokenSamplingEventArgs
Provides details for the event that occurs before a token sampling operation.
- BeforeToolInvocationEventArgs
Raised just before a tool is invoked. Handlers may set Cancel to true to skip the invocation.
- 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.