google.generativeai.types.CitationSourceDict
A citation to a source for a portion of a specific response.
Attributes |
`start_index`
|
`int`
Optional. Start of segment of the response
that is attributed to this source.
Index indicates the start of the segment,
measured in bytes.
|
`end_index`
|
`int`
Optional. End of the attributed segment,
exclusive.
|
`uri`
|
`str`
Optional. URI that is attributed as a source
for a portion of the text.
|
`license_`
|
`str`
Optional. License for the GitHub project that
is attributed as a source for segment.
License info is required for code citations.
|