A collection of source attributions for a piece of content.
JSON representation |
---|
{
"citationSources": [
{
object ( |
Fields | |
---|---|
citationSources[] |
Citations to sources for a specific response. |
CitationSource
A citation to a source for a portion of a specific response.
JSON representation |
---|
{ "startIndex": integer, "endIndex": integer, "uri": string, "license": string } |
Fields | |
---|---|
startIndex |
Optional. Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes. |
endIndex |
Optional. End of the attributed segment, exclusive. |
uri |
Optional. URI that is attributed as a source for a portion of the text. |
license |
Optional. License for the GitHub project that is attributed as a source for segment. License info is required for code citations. |