• Preparing search index...
  • The search index is not available
Arize Phoenix TS
  • Arize Phoenix TS
  • @arizeai/phoenix-evals
  • llm/createHallucinationEvaluator
  • createHallucinationEvaluator

Function createHallucinationEvaluator

  • createHallucinationEvaluator(
        args: HallucinationEvaluatorArgs,
    ): Evaluator<HallucinationExample>

    Creates a function that evaluates whether an answer is factual or hallucinated based on a query and reference text.

    Parameters

    • args: HallucinationEvaluatorArgs

      The arguments for creating the hallucination evaluator.

    Returns Evaluator<HallucinationExample>

    A function that evaluates whether an answer is factual or hallucinated based on a query and reference text.

    • Defined in llm/createHallucinationEvaluator.ts:34

Settings

Member Visibility
Arize Phoenix TS
  • Loading...

Generated using TypeDoc