Citation

class Citation

An object containing a segment of the generated response that is based on a source in the knowledge base, alongside information about the source.

This data type is used in the following API operations:

Types

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

Properties

Link copied to clipboard

Contains the generated response and metadata

Link copied to clipboard

Contains metadata about the sources cited for the generated response.

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