Class AzureOpenAICompletionResponseChoice
- Namespace
- FoundationaLLM.Common.Models.Orchestration.Direct
- Assembly
- FoundationaLLM.Common.dll
The completion response choice.
public class AzureOpenAICompletionResponseChoice
- Inheritance
-
AzureOpenAICompletionResponseChoice
- Inherited Members
- Extension Methods
Properties
FinishReason
The finish reason for the completion response.
[JsonPropertyName("finish_reason")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? FinishReason { get; set; }
Property Value
Index
The completion response index.
[JsonPropertyName("index")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Index { get; set; }
Property Value
- int?
LogProbs
The log probabilities on the logprobs most likely tokens, as well the chosen tokens.
[JsonPropertyName("logprobs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? LogProbs { get; set; }
Property Value
- int?
Message
Contains the completion response message if any.
[JsonPropertyName("message")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public CompletionMessage? Message { get; set; }
Property Value
Text
The completion response text.
[JsonPropertyName("text")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Text { get; set; }