Share via


ChatCompletion<T> Class

Definition

generic <typename T>
public ref class ChatCompletion : Microsoft::Extensions::AI::ChatCompletion
public class ChatCompletion<T> : Microsoft.Extensions.AI.ChatCompletion
type ChatCompletion<'T> = class
    inherit ChatCompletion
Public Class ChatCompletion(Of T)
Inherits ChatCompletion

Type Parameters

T
Inheritance
ChatCompletion<T>

Constructors

ChatCompletion<T>(ChatCompletion, JsonSerializerOptions)

Properties

AdditionalProperties (Inherited from ChatCompletion)
Choices (Inherited from ChatCompletion)
CompletionId (Inherited from ChatCompletion)
CreatedAt (Inherited from ChatCompletion)
FinishReason (Inherited from ChatCompletion)
Message (Inherited from ChatCompletion)
ModelId (Inherited from ChatCompletion)
RawRepresentation (Inherited from ChatCompletion)
Result
Usage (Inherited from ChatCompletion)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() (Inherited from ChatCompletion)
TryGetResult(T)

Applies to