PropositionQuestionSpec

@ApiStatus.Experimental
class PropositionQuestionSpec : Question<PropositionResult>

A question that asks the model whether a proposition is true.

Types

Link copied to clipboard
@ApiStatus.Experimental
class Builder

Collects the definition of one proposition question. Each call to build returns a new question, and later changes to the builder do not affect questions it already built. A builder is not safe for use from several threads at once.

Properties

Link copied to clipboard
open override val instructions: String

The text that tells the model what to decide.

Link copied to clipboard
open override val kind: QuestionKind

The kind of the question, which matches its result type.

Link copied to clipboard
open override val name: String

The caller-owned name of the question. It is unique within a spec and names the answer in a response.

Functions

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