docs-devsite/ai.citation.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
A single citation.
<b>Signature:</b>
export interface Citation
| 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 |
<b>Signature:</b>
endIndex?: number;
<b>Signature:</b>
license?: string;
The publication date of the cited source, if available.
This property is only supported in the Vertex AI Gemini API (VertexAIBackend<!-- -->).
<b>Signature:</b>
publicationDate?: Date;
<b>Signature:</b>
startIndex?: number;
The title of the cited source, if available.
This property is only supported in the Vertex AI Gemini API (VertexAIBackend<!-- -->).
<b>Signature:</b>
title?: string;
<b>Signature:</b>
uri?: string;