Skip to content

ScoreQuestion

Namespace: TypeSafe.AI.Sdk

public sealed class ScoreQuestion : Question

A question that assigns a score using an ordered rubric.

Inheritance: object → Question

View source

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

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

Create a Score question.

Parameters

Name Type Description
instructions object
criteria IReadOnlyList<object>
includeInstructions bool

View source

public IReadOnlyList<object?> Criteria { get; }

Descriptions of the available outcomes, indexed from zero.

Value: IReadOnlyList<object>

View source

public override string Type { get; }

Question type: noul, choice, score, or box.

Value: string

View source

MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API