Skip to content

EvalFewshotConfig ​

Example Usage ​

typescript
import { EvalFewshotConfig } from "@meetkai/mka1/models/components";

let value: EvalFewshotConfig = {};

Fields ​

FieldTypeRequiredDescription
countnumber➖N/A
datasetcomponents.EvalDataset➖Dataset backing an eval task.
promptTemplatestring➖Optional prompt template for few-shot examples. Defaults to task prompt_template.
targetTemplatestring➖Optional target template for few-shot examples. Defaults to task target_template.
exampleTemplatestring➖Template for one rendered few-shot example.
separatorstring➖Separator between few-shot examples and the evaluated prompt.
strategycomponents.Strategy➖N/A
seednumber➖N/A