ChatCompletionChunkDelta
Namespace: LLama.OldVersion
Caution
The entire LLama.OldVersion namespace will be removed
public class ChatCompletionChunkDelta : System.IEquatable`1[[LLama.OldVersion.ChatCompletionChunkDelta, LLamaSharp, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → ChatCompletionChunkDelta
Implements IEquatable<ChatCompletionChunkDelta>
Properties
Role
public string Role { get; set; }
Property Value
Content
public string Content { get; set; }
Property Value
Constructors
ChatCompletionChunkDelta(String, String)
public ChatCompletionChunkDelta(string Role, string Content)
Parameters
Role
String
Content
String
Methods
ToString()
public string ToString()
Returns
PrintMembers(StringBuilder)
protected bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
GetHashCode()
public int GetHashCode()
Returns
Equals(Object)
public bool Equals(object obj)
Parameters
obj
Object
Returns
Equals(ChatCompletionChunkDelta)
public bool Equals(ChatCompletionChunkDelta other)
Parameters
other
ChatCompletionChunkDelta
Returns
<Clone>$()
public ChatCompletionChunkDelta <Clone>$()
Returns
Deconstruct(String&, String&)
public void Deconstruct(String& Role, String& Content)
Parameters
Role
String&
Content
String&