LLamaSharp/docs/xmldocs/llama.oldversion.chatmessag...

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 ObjectChatMessageRecord
Implements IEquatable<ChatMessageRecord>

Properties

Message

public ChatCompletionMessage Message { get; set; }

Property Value

ChatCompletionMessage

Time

public DateTime Time { get; set; }

Property Value

DateTime

Constructors

ChatMessageRecord(ChatCompletionMessage, DateTime)

public ChatMessageRecord(ChatCompletionMessage Message, DateTime Time)

Parameters

Message ChatCompletionMessage

Time DateTime

Methods

ToString()

public string ToString()

Returns

String

PrintMembers(StringBuilder)

protected bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

Boolean

GetHashCode()

public int GetHashCode()

Returns

Int32

Equals(Object)

public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(ChatMessageRecord)

public bool Equals(ChatMessageRecord other)

Parameters

other ChatMessageRecord

Returns

Boolean

<Clone>$()

public ChatMessageRecord <Clone>$()

Returns

ChatMessageRecord

Deconstruct(ChatCompletionMessage&, DateTime&)

public void Deconstruct(ChatCompletionMessage& Message, DateTime& Time)

Parameters

Message ChatCompletionMessage&

Time DateTime&