Hierarchy

  • APIResource
    • Evals

Constructors

Properties

Methods

Constructors

  • Parameters

    Returns Evals

Properties

Methods

  • Create the structure of an evaluation that can be used to test a model's performance. An evaluation is a set of testing criteria and the config for a data source, which dictates the schema of the data used in the evaluation. After creating an evaluation, you can run it on different models and model parameters. We support several types of graders and datasources. For more information, see the Evals guide.

    Parameters

    Returns APIPromise<EvalCreateResponse>

  • Delete an evaluation.

    Parameters

    • evalID: string
    • Optionaloptions: RequestOptions

    Returns APIPromise<EvalDeleteResponse>

  • Get an evaluation by ID.

    Parameters

    • evalID: string
    • Optionaloptions: RequestOptions

    Returns APIPromise<EvalRetrieveResponse>

  • Update certain properties of an evaluation.

    Parameters

    Returns APIPromise<EvalUpdateResponse>