Event AfterTextCompletion
Occurs during response generation as text is produced.
public event EventHandler<AfterTextCompletionEventArgs> AfterTextCompletion
Returns
- EventHandler<AfterTextCompletionEventArgs>
- Occurs during response generation as text is produced.
- Implements
Examples
chat.AfterTextCompletion += (sender, e) => Console.Write(e.Text);
Remarks
Subscribe to this event to stream responses incrementally to the user interface.