Annotation for citing data from a document.
start/end indices refer to the response text,
not the source text. This means that the indices are relative to the model's
response, not the original document (as specified in the url).
create_citation may also be used as a factory to create a Citation.
Benefits include:
Citation()Type of the content block. Used for discrimination.
Unique identifier for this content block.
Either:
UUID4 prefixed with 'lc_'))URL of the document source.
Source document title.
For example, the page title for a web page or the title of a paper.
Start index of the response text (TextContentBlock.text).
End index of the response text (TextContentBlock.text)
Excerpt of source text being cited.
Provider-specific metadata.