Citation interface

A single citation.

Signature:

export interface Citation 

Properties

Property Type Description
endIndex number
license string
publicationDate Date The publication date of the cited source, if available.This property is only supported in the Vertex AI Gemini API (VertexAIBackend).
startIndex number
title string The title of the cited source, if available.This property is only supported in the Vertex AI Gemini API (VertexAIBackend).
uri string

Citation.endIndex

Signature:

endIndex?: number;

Citation.license

Signature:

license?: string;

Citation.publicationDate

The publication date of the cited source, if available.

This property is only supported in the Vertex AI Gemini API (VertexAIBackend).

Signature:

publicationDate?: Date;

Citation.startIndex

Signature:

startIndex?: number;

Citation.title

The title of the cited source, if available.

This property is only supported in the Vertex AI Gemini API (VertexAIBackend).

Signature:

title?: string;

Citation.uri

Signature:

uri?: string;