mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-09-18 21:20:21 +00:00
16 lines
680 B
C#
16 lines
680 B
C#
|
namespace AIStudio.Provider.OpenAI;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Data structure for URL citation annotations in the OpenAI Responses API.
|
||
|
/// </summary>
|
||
|
/// <param name="Type">The type of annotation, typically "url_citation".</param>
|
||
|
/// <param name="EndIndex">The end index of the annotated text in the response.</param>
|
||
|
/// <param name="StartIndex">The start index of the annotated text in the response.</param>
|
||
|
/// <param name="Title">The title of the cited URL.</param>
|
||
|
/// <param name="URL">The URL being cited.</param>
|
||
|
public sealed record ResponsesAnnotatingUrlCitationData(
|
||
|
string Type,
|
||
|
int EndIndex,
|
||
|
int StartIndex,
|
||
|
string Title,
|
||
|
string URL) : Annotation(Type);
|