3.1 KiB
3.1 KiB
ChatCompletionMessage
Namespace: LLama.OldVersion
Caution
The entire LLama.OldVersion namespace will be removed
public class ChatCompletionMessage : System.IEquatable`1[[LLama.OldVersion.ChatCompletionMessage, LLamaSharp, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → ChatCompletionMessage
Implements IEquatable<ChatCompletionMessage>
Properties
Role
public ChatRole Role { get; set; }
Property Value
Content
public string Content { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Constructors
ChatCompletionMessage(ChatRole, String, String)
public ChatCompletionMessage(ChatRole Role, string Content, string Name)
Parameters
Role
ChatRole
Content
String
Name
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(ChatCompletionMessage)
public bool Equals(ChatCompletionMessage other)
Parameters
other
ChatCompletionMessage
Returns
<Clone>$()
public ChatCompletionMessage <Clone>$()
Returns
Deconstruct(ChatRole&, String&, String&)
public void Deconstruct(ChatRole& Role, String& Content, String& Name)
Parameters
Role
ChatRole&
Content
String&
Name
String&