Skip to main content

Interface: CreateLlmScorerVersionParams

Defined in: src/types/scorer.types.ts:95

Properties

chainPollTemplate?

optional chainPollTemplate: object;
Defined in: src/types/scorer.types.ts:98

explanation_field_name?

optional explanation_field_name: string;
Explanation Field Name
Description
Field name to look for in the chainpoll response, for the explanation.
Default
explanation;

metric_description?

optional metric_description: null | string;
Metric Description
Description
Description of what the metric should do.

metric_few_shot_examples?

optional metric_few_shot_examples: object[];
Metric Few Shot Examples
Description
Few-shot examples for the metric.

metric_system_prompt?

optional metric_system_prompt: null | string;
Metric System Prompt
Description
System prompt for the metric.

template

template: string;
Template
Description
Chainpoll prompt template.

value_field_name?

optional value_field_name: string;
Value Field Name
Description
Field name to look for in the chainpoll response, for the rating.
Default
rating;

cotEnabled?

optional cotEnabled: boolean;
Defined in: src/types/scorer.types.ts:101

instructions?

optional instructions: string;
Defined in: src/types/scorer.types.ts:97

modelName?

optional modelName: string;
Defined in: src/types/scorer.types.ts:102

numJudges?

optional numJudges: number;
Defined in: src/types/scorer.types.ts:103

outputType?

optional outputType: OutputType;
Defined in: src/types/scorer.types.ts:104

scoreableNodeTypes?

optional scoreableNodeTypes: StepType[];
Defined in: src/types/scorer.types.ts:100

scorerId

scorerId: string;
Defined in: src/types/scorer.types.ts:96

userPrompt?

optional userPrompt: string;
Defined in: src/types/scorer.types.ts:99