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" | "maxTokens" | "temperature" | keyof OpenAIAuth | "useCoT" | "input"

Parameters

NameType
args{ [K in "model" | "maxTokens" | "temperature" | 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