Class ChatDelta
public class ChatDelta
- Inheritance
-
objectChatDelta
Properties
Content
The contents of the chunk message.
public string Content { get; set; }
Property Value
- string
Refusal
The refusal message generated by the model.
public string Refusal { get; set; }
Property Value
- string
Role
The role of the author of this message.
public ChatRole Role { get; set; }
Property Value
ToolCalls
The name and arguments of a function that should be called, as generated by the model. ///
public ToolCall[] ToolCalls { get; set; }
Property Value
- ToolCall[]
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator string(ChatDelta)
public static implicit operator string(ChatDelta delta)
Parameters
deltaChatDelta
Returns
- string