Class MessageDelta
Assembly: Glitch9.AIDevKit.dll
Syntax
public sealed class MessageDelta : ITextSource
Properties
|
Edit this page
View Source
Content
The contents of the chunk message.
Declaration
[JsonProperty("content")]
public string Content { get; set; }
Property Value
|
Edit this page
View Source
Reasoning
The reasoning content generated by the model.
Declaration
[JsonProperty("reasoning")]
public string Reasoning { get; set; }
Property Value
|
Edit this page
View Source
Refusal
The refusal message generated by the model.
Declaration
[JsonProperty("refusal")]
public string Refusal { get; set; }
Property Value
|
Edit this page
View Source
Role
The role of the author of this message.
Declaration
[JsonProperty("role")]
public ChatRole Role { get; set; }
Property Value
|
Edit this page
View Source
The name and arguments of a function that should be called, as generated by the model.
Declaration
[JsonProperty("tool_calls")]
public ToolCall[] ToolCalls { get; set; }
Property Value
Methods
|
Edit this page
View Source
GetTextSource()
Declaration
public string GetTextSource()
Returns
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Edit this page
View Source
implicit operator string(MessageDelta)
Declaration
public static implicit operator string(MessageDelta delta)
Parameters
Returns
Implements
Extension Methods