Class TextChunkReceivedArgs
- Namespace
- GenerativeAI.Live
- Assembly
- GenerativeAI.Live.dll
Contains the arguments for the event when a text chunk is received.
public class TextChunkReceivedArgs : EventArgs
- Inheritance
-
TextChunkReceivedArgs
- Inherited Members
- Extension Methods
Constructors
TextChunkReceivedArgs(string, bool)
Initializes a new instance of the TextChunkReceivedArgs class.
public TextChunkReceivedArgs(string text, bool isTurnFinish)
Parameters
textstringThe text of the received chunk.
isTurnFinishboolA value indicating whether the turn is finished.
Properties
IsTurnFinish
Gets or sets a value indicating whether the turn is finished.
public bool IsTurnFinish { get; set; }
Property Value
Text
Gets or sets the text of the received chunk.
public string Text { get; set; }