Class ChatDelta
Inheritance
object
ChatDelta
Assembly: .dll
Syntax
Properties
Content
The contents of the chunk message.
Declaration
public string Content { get; set; }
Property Value
Refusal
The refusal message generated by the model.
Declaration
public string Refusal { get; set; }
Property Value
Role
The role of the author of this message.
Declaration
public ChatRole Role { get; set; }
Property Value
The name and arguments of a function that should be called, as generated by the model.
///
Declaration
public ToolCall[] ToolCalls { get; set; }
Property Value
Methods
ToTextDelta()
Declaration
public string ToTextDelta()
Returns
Operators
implicit operator string(ChatDelta)
Declaration
public static implicit operator string(ChatDelta delta)
Parameters
Returns