Namespace: Summary
Test whether an output is a better summary of the input
than the original (expected
) value.
Functions
partial
▸ partial<T
>(args
): Scorer
<string
, Omit
<LLMClassifierArgs
<{ input
: string
}>, T
> & Partial
<Pick
<LLMClassifierArgs
<{ input
: string
}>, T
>>>
Type parameters
Name | Type |
---|---|
T | extends "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "useCoT" | "input" |
Parameters
Name | Type |
---|---|
args | { [K in "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "useCoT" | "input"]: LLMClassifierArgs<Object>[K] } |
Returns
Scorer
<string
, Omit
<LLMClassifierArgs
<{ input
: string
}>, T
> & Partial
<Pick
<LLMClassifierArgs
<{ input
: string
}>, T
>>>