Class UrlCitation
- Namespace
- OpenAI
- Assembly
- OpenAI-DotNet.dll
public sealed class UrlCitation : IAnnotation
- Inheritance
-
UrlCitation
- Implements
- Inherited Members
Properties
EndIndex
The index of the first character of the URL citation in the message.
[JsonInclude]
[JsonPropertyName("end_index")]
public int EndIndex { get; }
Property Value
StartIndex
The index of the last character of the URL citation in the message.
[JsonInclude]
[JsonPropertyName("start_index")]
public int StartIndex { get; }
Property Value
Title
The title of the web resource.
[JsonInclude]
[JsonPropertyName("title")]
public string Title { get; }
Property Value
Type
[JsonInclude]
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter<AnnotationType>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AnnotationType Type { get; }
Property Value
Url
The URL of the web resource.
[JsonInclude]
[JsonPropertyName("url")]
public string Url { get; }