Class InlineCitation (0.7.4)

InlineCitation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An inline citation in the response text.

Attributes

Name Description
start_index int
The starting index (in bytes) of the text segment in the agent response.
end_index int
The ending index (in bytes) of the text segment in the agent response.
cited_chunk_indices MutableSequence[int]
The indices of the cited chunks that back this text segment. Indices refer to the elements in cited_chunks.