Event StructuredAnswerStarting
- Namespace
- LMKit.TextGeneration
- Assembly
- LM-Kit.NET.dll
Raised when a turn that ran its tools under a Grammar starts generating its final, grammar-constrained answer. The answer the tool phase produced is a draft and has been discarded: a host that streamed or accumulated its text drops it now; what follows is the answer the result returns.
public event EventHandler StructuredAnswerStarting
Returns
- EventHandler
- Raised when a turn that ran its tools under a starts generating its final, grammar-constrained answer. The answer the tool phase produced is a draft and has been discarded: a host that streamed or accumulated its text drops it now; what follows is the answer the result returns.
Remarks
With tools available, a grammar governs only the final answer: tool calls run unconstrained, then the answer is generated again under the grammar from the same history. A host that wants nothing but the final answer on screen can hold back text until the turn completes.