• Preparing search index...
  • The search index is not available
@arizeai/phoenix-client
  • @arizeai/phoenix-client
  • experiments
  • asEvaluator

Function asEvaluator

  • asEvaluator(
        name: string,
        evaluate: (
            args: EvaluatorParams,
        ) => EvaluationResult | Promise<EvaluationResult>,
    ): Evaluator
    Experimental

    Wrap an evaluator function in an object with a name property.

    This feature is not complete, and will change in the future.

    Parameters

    • name: string

      The name of the evaluator.

    • evaluate: (args: EvaluatorParams) => EvaluationResult | Promise<EvaluationResult>

      The evaluator function.

    Returns Evaluator

    The evaluator object.

    Deprecated

    This function will be un-marked as deprecated once the experimental feature flag is removed.

    • Defined in experiments/runExperiment.ts:351

Settings

Member Visibility
@arizeai/phoenix-client
  • Loading...

Generated using TypeDoc