Reference/Autoevals library/Typescript/Modules

Namespace: Sql

Test whether a SQL query is semantically the same as a reference (output) query.

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