TextResponsePart

Contains the part of the generated text that contains a citation, alongside where it begins and ends.

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
val span: Span?

Contains information about where the text with a citation begins and ends in the generated output.

Link copied to clipboard
val text: String?

The part of the generated text that contains a citation.

Functions

Link copied to clipboard
inline fun copy(block: TextResponsePart.Builder.() -> Unit = {}): TextResponsePart
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