ChatCompletionMessage
Namespace: LLama.Types
| public class ChatCompletionMessage : System.IEquatable`1[[LLama.Types.ChatCompletionMessage, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]
|
Inheritance Object → ChatCompletionMessage
Implements IEquatable<ChatCompletionMessage>
Properties
Role
| public ChatRole Role { get; set; }
|
Property Value
ChatRole
Content
| public string Content { get; set; }
|
Property Value
String
Name
| public string Name { get; set; }
|
Property Value
String
Constructors
ChatCompletionMessage(ChatRole, String, String)
| public ChatCompletionMessage(ChatRole Role, string Content, string Name)
|
Parameters
Role
ChatRole
Content
String
Name
String
Methods
ToString()
Returns
String
| protected bool PrintMembers(StringBuilder builder)
|
Parameters
builder
StringBuilder
Returns
Boolean
GetHashCode()
Returns
Int32
Equals(Object)
| public bool Equals(object obj)
|
Parameters
obj
Object
Returns
Boolean
Equals(ChatCompletionMessage)
| public bool Equals(ChatCompletionMessage other)
|
Parameters
other
ChatCompletionMessage
Returns
Boolean
<Clone>$()
| public ChatCompletionMessage <Clone>$()
|
Returns
ChatCompletionMessage
Deconstruct(ChatRole&, String&, String&)
| public void Deconstruct(ChatRole& Role, String& Content, String& Name)
|
Parameters
Role
ChatRole&
Content
String&
Name
String&