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