mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 19:41:37 +00:00
13 lines
449 B
C#
13 lines
449 B
C#
|
|
namespace AIStudio.Provider.OpenAI;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// A multimodal chat message model that can contain various types of content.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="Content">The list of sub-contents in the message.</param>
|
||
|
|
/// <param name="Role">The role of the message.</param>
|
||
|
|
public record MultimodalMessage(List<ISubContent> Content, string Role) : IMessage<List<ISubContent>>
|
||
|
|
{
|
||
|
|
public MultimodalMessage() : this([], string.Empty)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|