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
Name | Type |
---|---|
T | extends "openAiApiKey" | "client" | "openAiOrganizationId" | "openAiBaseUrl" | "openAiDefaultHeaders" | "openAiDangerouslyAllowBrowser" | "azureOpenAi" | "model" | "temperature" | "maxTokens" | "useCoT" | "input" |
Parameters
Name | Type |
---|---|
args | { [K in "openAiApiKey" | "client" | "openAiOrganizationId" | "openAiBaseUrl" | "openAiDefaultHeaders" | "openAiDangerouslyAllowBrowser" | "azureOpenAi" | "model" | "temperature" | "maxTokens" | "useCoT" | "input"]: LLMClassifierArgs<Object>[K] } |
Returns
Scorer
<string
, Omit
<LLMClassifierArgs
<{ input
: string
}>, T
> & Partial
<Pick
<LLMClassifierArgs
<{ input
: string
}>, T
>>>