Table of Contents

Class ScoreQuestion

Namespace
TypeSafe.AI.Sdk
Assembly
TypeSafe.AI.Sdk.dll

A question that assigns a score using an ordered rubric.

public sealed class ScoreQuestion : Question
Inheritance
ScoreQuestion
Inherited Members

Constructors

ScoreQuestion(object?, IReadOnlyList<object?>, bool)

Create a Score question.

public ScoreQuestion(object? instructions, IReadOnlyList<object?> criteria, bool includeInstructions = true)

Parameters

instructions object
criteria IReadOnlyList<object>
includeInstructions bool

Properties

Criteria

Descriptions of the available outcomes, indexed from zero.

public IReadOnlyList<object?> Criteria { get; }

Property Value

IReadOnlyList<object>

Type

Question type: noul, choice, or score.

public override string Type { get; }

Property Value

string