Reference/Autoevals library/Typescript/Modules

Namespace: ContextRelevancy

Functions

partial

partial<T>(args): Scorer<string, Omit<RagasArgs, T> & Partial<Pick<RagasArgs, T>>>

Type parameters

NameType
Textends "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "input" | "context"

Parameters

NameType
args{ [K in "model" | "temperature" | "maxTokens" | keyof OpenAIAuth | "input" | "context"]: RagasArgs[K] }

Returns

Scorer<string, Omit<RagasArgs, T> & Partial<Pick<RagasArgs, T>>>

Defined in

autoevals/js/partial.ts:5

On this page