Class AzureOpenAICompletionResponse
- Namespace
- FoundationaLLM.Common.Models.Orchestration.Direct
- Assembly
- FoundationaLLM.Common.dll
The response from the Azure OpenAI orchestration service.
public class AzureOpenAICompletionResponse
- Inheritance
-
AzureOpenAICompletionResponse
- Inherited Members
- Extension Methods
Properties
Choices
The completion response choices.
[JsonPropertyName("choices")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public AzureOpenAICompletionResponseChoice[]? Choices { get; set; }
Property Value
Created
The completion response created timestamp.
[JsonPropertyName("created")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Created { get; set; }
Property Value
- int?
Id
The completion response ID.
[JsonPropertyName("id")]
public string Id { get; set; }
Property Value
Model
The completion model used for the response.
[JsonPropertyName("model")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Model { get; set; }
Property Value
Object
The completion response object.
[JsonPropertyName("object")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Object { get; set; }
Property Value
Usage
Completion usage statistics.
[JsonPropertyName("usage")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public CompletionUsage? Usage { get; set; }