- Criteria(criteria, config?): EvalConfig
Parameters
criteria: Record<string, string> | "detail" | "conciseness" | "relevance" | "correctness" | "coherence" | "harmfulness" | "maliciousness" | "helpfulness" | "controversiality" | "misogyny" | "criminality" | "insensitivity" | "depth" | "creativity"
Optional
config: Pick<Partial<LabeledCriteria>, "llm" | "formatEvaluatorInputs" | "feedbackKey">