Class Delta
public sealed class Delta
- Inheritance
-
Delta
- Inherited Members
Properties
AudioOutput
If the audio output modality is requested, this object contains data about the audio response from the model.
[JsonInclude]
[JsonPropertyName("audio")]
public AudioOutput AudioOutput { get; }
Property Value
Content
The contents of the message.
[JsonInclude]
[JsonPropertyName("content")]
public string Content { get; }
Property Value
Name
Optional, The name of the author of this message.
May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters.
[JsonInclude]
[JsonPropertyName("name")]
public string Name { get; }
Property Value
Refusal
The refusal message generated by the model.
[JsonInclude]
[JsonPropertyName("refusal")]
public string Refusal { get; }
Property Value
Role
The Role of the author of this message.
[JsonInclude]
[JsonPropertyName("role")]
public Role Role { get; }
Property Value
ToolCalls
The tool calls generated by the model, such as function calls.
[JsonInclude]
[JsonPropertyName("tool_calls")]
public IReadOnlyList<ToolCall> ToolCalls { get; }
Property Value
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(Delta)
public static implicit operator string(Delta delta)
Parameters
delta
Delta