Citations associated with the agent response.
| JSON representation |
|---|
{ "citedChunks": [ { object ( |
| Fields | |
|---|---|
citedChunks[] |
List of cited pieces of information. |
inlineCitations[] |
Optional. List of inline citations in the agent response. |
Citations.CitedChunk
Piece of cited information.
| JSON representation |
|---|
{ "uri": string, "title": string, "text": string, "requiresAttribution": boolean } |
| Fields | |
|---|---|
uri |
URI used for citation. |
title |
Title of the cited document. |
text |
Text used for citation. |
requiresAttribution |
Whether this citation requires attribution to be shown to the end users. |
Citations.InlineCitation
An inline citation in the response text.
| JSON representation |
|---|
{ "startIndex": integer, "endIndex": integer, "citedChunkIndices": [ integer ] } |
| Fields | |
|---|---|
startIndex |
The starting index (in bytes) of the text segment in the agent response. |
endIndex |
The ending index (in bytes) of the text segment in the agent response. |
citedChunkIndices[] |
The indices of the cited chunks that back this text segment. Indices refer to the elements in |