AI-Studio/app/MindWork AI Studio/Provider/OpenAI/SubContentImageUrlData.cs

18 lines
534 B
C#
Raw Normal View History

2025-12-30 17:30:32 +00:00
namespace AIStudio.Provider.OpenAI;
/// <summary>
/// Represents the inner object of a nested image URL sub-content.
/// </summary>
/// <remarks>
/// This record is used when the provider expects the format:
/// <code>
/// { "type": "image_url", "image_url": { "url": "data:image/jpeg;base64,..." } }
/// </code>
/// This class represents the inner <c>{ "url": "..." }</c> part.
/// </remarks>
public record SubContentImageUrlData : ISubContentImageUrl
{
/// <inheritdoc />
public string Url { get; init; } = string.Empty;
}