Class MessageDelta
- Namespace
- Glitch9.AIDevKit.ChatCompletions
public class MessageDelta
- Inheritance
-
objectMessageDelta
- Extension Methods
Properties
Content
The contents of the chunk message.
public string Content { get; set; }
Property Value
- string
Id
public string Id { get; }
Property Value
- string
Reasoning
The reasoning content generated by the model.
public string Reasoning { 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(MessageDelta)
public static implicit operator string(MessageDelta delta)
Parameters
deltaMessageDelta
Returns
- string
implicit operator MessageDelta(string)
public static implicit operator MessageDelta(string content)
Parameters
contentstring