Share via


UrlCitationBody interface

A citation for a web resource used to generate a model response.

Extends

Properties

end_index

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

start_index

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

title

The title of the web resource.

type

The type of the URL citation. Always url_citation.

url

The URL of the web resource.

Property Details

end_index

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

end_index: number

Property Value

number

start_index

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

start_index: number

Property Value

number

title

The title of the web resource.

title: string

Property Value

string

type

The type of the URL citation. Always url_citation.

type: "url_citation"

Property Value

"url_citation"

url

The URL of the web resource.

url: string

Property Value

string