Reference/Autoevals library/TypeScript/Modules

Namespace: Possible

Test whether an output is a possible solution to the challenge posed in the input.

Functions

partial

partial<T>(args): Scorer<string, Omit<LLMClassifierArgs<{ input: string }>, T> & Partial<Pick<LLMClassifierArgs<{ input: string }>, T>>>

Type parameters

NameType
Textends "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "useCoT" | "input"

Parameters

NameType
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>>>

Defined in

autoevals/js/partial.ts:5

On this page