Files
AI-Studio/app/MindWork AI Studio/Provider/OpenAI/ChatCompletionChoice.cs
T

13 lines
369 B
C#
Raw Normal View History

2025-09-03 10:08:04 +02:00
namespace AIStudio.Provider.OpenAI;
/// <summary>
/// Data model for a choice made by the AI.
/// </summary>
/// <param name="Index">The index of the choice.</param>
/// <param name="Delta">The delta text of the choice.</param>
public record ChatCompletionChoice(int Index, ChatCompletionDelta Delta)
{
2026-09-04 15:48:07 +02:00
public ChatCompletionChoice() : this(0, new())
2025-09-03 10:08:04 +02:00
{
}
2026-09-04 15:48:07 +02:00
}