CompletionsFinishReason Struct
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.
Representation of the manner in which a completions response concluded.
public readonly struct CompletionsFinishReason : IEquatable<Azure.AI.Inference.CompletionsFinishReason>
type CompletionsFinishReason = struct
Public Structure CompletionsFinishReason
Implements IEquatable(Of CompletionsFinishReason)
- Inheritance
-
CompletionsFinishReason
- Implements
Constructors
CompletionsFinishReason(String) |
Initializes a new instance of CompletionsFinishReason. |
Properties
ContentFiltered |
Completions generated a response that was identified as potentially sensitive per content moderation policies. |
Stopped |
Completions ended normally and reached its end of token generation. |
TokenLimitReached |
Completions exhausted available token limits before generation could complete. |
ToolCalls |
Completion ended with the model calling a provided tool for output. |
Methods
Equals(CompletionsFinishReason) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(CompletionsFinishReason, CompletionsFinishReason) |
Determines if two CompletionsFinishReason values are the same. |
Implicit(String to CompletionsFinishReason) |
Converts a String to a CompletionsFinishReason. |
Inequality(CompletionsFinishReason, CompletionsFinishReason) |
Determines if two CompletionsFinishReason values are not the same. |
Applies to
Azure SDK for .NET