ChatCompletion<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.