Interface: JudgeChain
Defined in: packages/core/src/presenter/JudgeChain.ts:112
A compiled judge chain — call evaluate(prompt) to run.
Properties
config
ts
readonly config: Readonly<Required<JudgeChainConfig>>;Defined in: packages/core/src/presenter/JudgeChain.ts:117
The underlying configuration
Methods
evaluate()
ts
evaluate(prompt): Promise<JudgeChainResult>;Defined in: packages/core/src/presenter/JudgeChain.ts:114
Execute the chain with the given prompt
Parameters
| Parameter | Type |
|---|---|
prompt | string |
Returns
Promise<JudgeChainResult>