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