Namespace: ContextRelevancy

Functions

partial

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

Type parameters

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

Parameters

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

Returns

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

Defined in

autoevals/js/partial.ts:5