TextSegment

Provides information about a text extract in a chat response that can be attributed to a source document.

Types

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

Properties

Link copied to clipboard

The zero-based location in the response string where the source attribution starts.

Link copied to clipboard

The zero-based location in the response string where the source attribution ends.

Functions

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