Skip to content

ChatMessageRecord

Namespace: LLama.Types

1
public class ChatMessageRecord : System.IEquatable`1[[LLama.Types.ChatMessageRecord, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectChatMessageRecord
Implements IEquatable<ChatMessageRecord>

Properties

Message

1
public ChatCompletionMessage Message { get; set; }

Property Value

ChatCompletionMessage

Time

1
public DateTime Time { get; set; }

Property Value

DateTime

Constructors

ChatMessageRecord(ChatCompletionMessage, DateTime)

1
public ChatMessageRecord(ChatCompletionMessage Message, DateTime Time)

Parameters

Message ChatCompletionMessage

Time DateTime

Methods

ToString()

1
public string ToString()

Returns

String

PrintMembers(StringBuilder)

1
protected bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

Boolean

GetHashCode()

1
public int GetHashCode()

Returns

Int32

Equals(Object)

1
public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(ChatMessageRecord)

1
public bool Equals(ChatMessageRecord other)

Parameters

other ChatMessageRecord

Returns

Boolean

<Clone>$()

1
public ChatMessageRecord <Clone>$()

Returns

ChatMessageRecord

Deconstruct(ChatCompletionMessage&, DateTime&)

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

Parameters

Message ChatCompletionMessage&

Time DateTime&