Skip to content

ChatCompletionChunkChoice

Namespace: LLama.OldVersion

Caution

The entire LLama.OldVersion namespace will be removed


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

Inheritance ObjectChatCompletionChunkChoice
Implements IEquatable<ChatCompletionChunkChoice>

Properties

Index

public int Index { get; set; }

Property Value

Int32

Delta

public ChatCompletionChunkDelta Delta { get; set; }

Property Value

ChatCompletionChunkDelta

FinishReason

public string FinishReason { get; set; }

Property Value

String

Constructors

ChatCompletionChunkChoice(Int32, ChatCompletionChunkDelta, String)

public ChatCompletionChunkChoice(int Index, ChatCompletionChunkDelta Delta, string FinishReason)

Parameters

Index Int32

Delta ChatCompletionChunkDelta

FinishReason 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(ChatCompletionChunkChoice)

public bool Equals(ChatCompletionChunkChoice other)

Parameters

other ChatCompletionChunkChoice

Returns

Boolean

<Clone>$()

public ChatCompletionChunkChoice <Clone>$()

Returns

ChatCompletionChunkChoice

Deconstruct(Int32&, ChatCompletionChunkDelta&, String&)

public void Deconstruct(Int32& Index, ChatCompletionChunkDelta& Delta, String& FinishReason)

Parameters

Index Int32&

Delta ChatCompletionChunkDelta&

FinishReason String&