Package-level declarations

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Citation(val citedReference: CitedReference, val citedDetails: CitedDetails? = null)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CitationClaim(val claimStartOffset: Int, val claimEndOffset: Int)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CitationContent(val citations: List<Citation> = emptyList())
Link copied to clipboard
data class CitationLink(val url: String)
Link copied to clipboard
sealed interface CitedDetails

Detailed citation data attached to an AI-generated message, describing the source material.

Link copied to clipboard

Enumerates the supported types of citation details.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CitedInlineMetadata(val claim: CitationClaim?, val citedLocationOffset: Int)
Link copied to clipboard
sealed interface CitedReference

A reference linking a citation to its source, used to attribute AI-generated content.

Link copied to clipboard

Enumerates the supported types of citation references.