Citation

data class Citation(val title: String? = null, val uri: String? = null, val startIndex: Int? = null, val endIndex: Int? = null)

Represents a citation to a source.

Constructors

Link copied to clipboard
constructor(title: String? = null, uri: String? = null, startIndex: Int? = null, endIndex: Int? = null)

Properties

Link copied to clipboard

The end index (in bytes, exclusive) of the cited span within the response content.

Link copied to clipboard

The start index (in bytes) of the cited span within the response content.

Link copied to clipboard

The title of the cited source.

Link copied to clipboard
val uri: String?

The URI of the cited source.