mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 18:41:36 +00:00
18 lines
534 B
C#
18 lines
534 B
C#
|
|
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;
|
||
|
|
}
|