mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 22:41:36 +00:00
14 lines
390 B
C#
14 lines
390 B
C#
|
|
namespace AIStudio.Provider.OpenAI;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Text input sub-content for multimodal messages.
|
||
|
|
/// </summary>
|
||
|
|
/// <remarks>
|
||
|
|
/// Right now, this is used only by OpenAI in its responses API.
|
||
|
|
/// </remarks>
|
||
|
|
public record SubContentInputText(SubContentType Type, string Text) : ISubContent
|
||
|
|
{
|
||
|
|
public SubContentInputText() : this(SubContentType.INPUT_TEXT, string.Empty)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|