mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-13 20:33:38 +00:00
Co-authored-by: krut_ni <nils.kruthoff@dlr.de> Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
14 lines
369 B
C#
14 lines
369 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())
|
|
{
|
|
}
|
|
}
|