2025-12-30 18:30:32 +01: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 />
|
2026-11-03 07:59:30 +01:00
|
|
|
public string Url { get; set; } = string.Empty;
|
2025-12-30 18:30:32 +01:00
|
|
|
}
|