Reference/Autoevals library/TypeScript/Modules

Namespace: Humor

Test whether an output is funny.

Functions

partial

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

Type parameters

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

Parameters

NameType
args{ [K in "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "useCoT"]: LLMClassifierArgs<Object>[K] }

Returns

Scorer<string, Omit<LLMClassifierArgs<{}>, T> & Partial<Pick<LLMClassifierArgs<{}>, T>>>

Defined in

autoevals/js/partial.ts:5

On this page