using System.Collections.Generic;
namespace OpenAI.Chat;
[CodeGenType("ChatCompletionStreamResponseDelta")]
internal partial class InternalChatCompletionStreamResponseDelta
{
// CUSTOM: Changed type from string.
/// <summary> The role of the author of this message. </summary>
[CodeGenMember("Role")]
public ChatMessageRole? Role { get; }
// CUSTOM: Changed type from string.
/// <summary> The contents of the message. </summary>
[CodeGenMember("Content")]
public ChatMessageContent Content { get; }
}openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Chat/Internal/InternalChatCompletionStreamResponseDelta.cs
17lines · modepreview