Prompt

data class Prompt(val value: String) : GroundTruthTurnInput

The text prompt for this conversation turn.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.