Skip to content

ChatCompletionChunkDelta

Namespace: LLama.OldVersion

Caution

The entire LLama.OldVersion namespace will be removed


public class ChatCompletionChunkDelta : System.IEquatable`1[[LLama.OldVersion.ChatCompletionChunkDelta, LLamaSharp, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectChatCompletionChunkDelta
Implements IEquatable<ChatCompletionChunkDelta>

Properties

Role

public string Role { get; set; }

Property Value

String

Content

public string Content { get; set; }

Property Value

String

Constructors

ChatCompletionChunkDelta(String, String)

public ChatCompletionChunkDelta(string Role, string Content)

Parameters

Role String

Content String

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(ChatCompletionChunkDelta)

public bool Equals(ChatCompletionChunkDelta other)

Parameters

other ChatCompletionChunkDelta

Returns

Boolean

<Clone>$()

public ChatCompletionChunkDelta <Clone>$()

Returns

ChatCompletionChunkDelta

Deconstruct(String&, String&)

public void Deconstruct(String& Role, String& Content)

Parameters

Role String&

Content String&