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