Skip to content

ChatCompletionChunkDelta

Namespace: LLama.Types

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

Inheritance ObjectChatCompletionChunkDelta
Implements IEquatable<ChatCompletionChunkDelta>

Properties

Role

1
public string Role { get; set; }

Property Value

String

Content

1
public string Content { get; set; }

Property Value

String

Constructors

ChatCompletionChunkDelta(String, String)

1
public ChatCompletionChunkDelta(string Role, string Content)

Parameters

Role String

Content String

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

1
public bool Equals(ChatCompletionChunkDelta other)

Parameters

other ChatCompletionChunkDelta

Returns

Boolean

<Clone>$()

1
public ChatCompletionChunkDelta <Clone>$()

Returns

ChatCompletionChunkDelta

Deconstruct(String&, String&)

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

Parameters

Role String&

Content String&