Table of Contents

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

int

StartIndex

The index of the last character of the URL citation in the message.

[JsonInclude]
[JsonPropertyName("start_index")]
public int StartIndex { get; }

Property Value

int

Title

The title of the web resource.

[JsonInclude]
[JsonPropertyName("title")]
public string Title { get; }

Property Value

string

Type

[JsonInclude]
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter<AnnotationType>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AnnotationType Type { get; }

Property Value

AnnotationType

Url

The URL of the web resource.

[JsonInclude]
[JsonPropertyName("url")]
public string Url { get; }

Property Value

string