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

interface URLCitation {
    end_index: number;
    start_index: number;
    title: string;
    type: "url_citation";
    url: string;
}

Properties

end_index: number

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

start_index: number

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

title: string

The title of the web resource.

type: "url_citation"

The type of the URL citation. Always url_citation.

url: string

The URL of the web resource.