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