Citation

class Citation

Contains information about a citation that references a specific source document. Citations provide traceability between the model's generated response and the source documents that informed that response.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The precise location within the source document where the cited content can be found, including character positions, page numbers, or chunk identifiers.

Link copied to clipboard

The specific content from the source document that was referenced or cited in the generated response.

Link copied to clipboard

The title or identifier of the source document being cited.

Functions

Link copied to clipboard
inline fun copy(block: Citation.Builder.() -> Unit = {}): Citation
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String