Citation

@Serializable
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
val endIndex: Int? = null

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

Link copied to clipboard
val startIndex: Int? = null

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

Link copied to clipboard
val title: String? = null

The title of the cited source.

Link copied to clipboard
val uri: String? = null

The URI of the cited source.