Skip to content

ChatCompletionChunkChoice

Namespace: LLama.Types

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

Inheritance ObjectChatCompletionChunkChoice
Implements IEquatable<ChatCompletionChunkChoice>

Properties

Index

1
public int Index { get; set; }

Property Value

Int32

Delta

1
public ChatCompletionChunkDelta Delta { get; set; }

Property Value

ChatCompletionChunkDelta

FinishReason

1
public string FinishReason { get; set; }

Property Value

String

Constructors

ChatCompletionChunkChoice(Int32, ChatCompletionChunkDelta, String)

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

Parameters

Index Int32

Delta ChatCompletionChunkDelta

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

1
public bool Equals(ChatCompletionChunkChoice other)

Parameters

other ChatCompletionChunkChoice

Returns

Boolean

<Clone>$()

1
public ChatCompletionChunkChoice <Clone>$()

Returns

ChatCompletionChunkChoice

Deconstruct(Int32&, ChatCompletionChunkDelta&, String&)

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

Parameters

Index Int32&

Delta ChatCompletionChunkDelta&

FinishReason String&