Table of Contents

Event BeforeTokenSampling

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

This event is triggered just prior to the generation of a token.
The provided BeforeTokenSamplingEventArgs argument allows for precise adjustments to the token sampling process.

public event EventHandler<BeforeTokenSamplingEventArgs> BeforeTokenSampling

Returns

EventHandler<BeforeTokenSamplingEventArgs>
This event is triggered just prior to the generation of a token. The provided BeforeTokenSamplingEventArgs argument allows for precise adjustments to the token sampling process.
Implements