EvalFewshotConfig
Example Usage
typescript
import { EvalFewshotConfig } from "@meetkai/mka1/models/components";
let value: EvalFewshotConfig = {};Fields
| Field | Type | Required | Description |
|---|---|---|---|
count | number | ➖ | N/A |
dataset | any | ➖ | Optional separate dataset used for few-shot examples. |
promptTemplate | string | ➖ | Optional prompt template for few-shot examples. Defaults to task prompt_template. |
targetTemplate | string | ➖ | Optional target template for few-shot examples. Defaults to task target_template. |
exampleTemplate | string | ➖ | Template for one rendered few-shot example. |
separator | string | ➖ | Separator between few-shot examples and the evaluated prompt. |
strategy | components.Strategy | ➖ | N/A |
seed | number | ➖ | N/A |