mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-10-08 22:00:21 +00:00
13 lines
381 B
C#
13 lines
381 B
C#
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)
|
|
{
|
|
public ChatCompletionChoice() : this(0, new (string.Empty))
|
|
{
|
|
}
|
|
} |