openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Generated/Models/AssistantChatMessage.cs
21lines · modecode
| 1 | // <auto-generated/> |
| 2 | |
| 3 | #nullable disable |
| 4 | |
| 5 | using System; |
| 6 | using System.Collections.Generic; |
| 7 | |
| 8 | namespace OpenAI.Chat |
| 9 | { |
| 10 | public partial class AssistantChatMessage : ChatMessage |
| 11 | { |
| 12 | internal AssistantChatMessage(string role, IList<ChatMessageContentPart> content, IDictionary<string, BinaryData> serializedAdditionalRawData, string participantName, IList<ChatToolCall> toolCalls, ChatFunctionCall functionCall) : base(role, content, serializedAdditionalRawData) |
| 13 | { |
| 14 | ParticipantName = participantName; |
| 15 | ToolCalls = toolCalls; |
| 16 | FunctionCall = functionCall; |
| 17 | } |
| 18 | public IList<ChatToolCall> ToolCalls { get; } |
| 19 | public ChatFunctionCall FunctionCall { get; init; } |
| 20 | } |
| 21 | } |
| 22 | |