Namespace: ContextRelevancy
Functions
partial
▸ partial<T
>(args
): Scorer
<string
, Omit
<RagasArgs
, T
> & Partial
<Pick
<RagasArgs
, T
>>>
Type parameters
Name | Type |
---|---|
T | extends "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "input" | "context" |
Parameters
Name | Type |
---|---|
args | { [K in "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "input" | "context"]: RagasArgs[K] } |
Returns
Scorer
<string
, Omit
<RagasArgs
, T
> & Partial
<Pick
<RagasArgs
, T
>>>