GroundTruthTurnInput

The input for a ground truth conversation turn.

Inheritors

Types

Link copied to clipboard
data class Prompt(val value: String) : GroundTruthTurnInput

The text prompt for this conversation turn.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this GroundTruthTurnInput as a Prompt and retrieves its kotlin.String value. Throws an exception if the GroundTruthTurnInput is not a Prompt.

Link copied to clipboard

Casts this GroundTruthTurnInput as a Prompt and retrieves its kotlin.String value. Returns null if the GroundTruthTurnInput is not a Prompt.