Skip to content

[Feature Request] Add support for running a pairwise experiment #37

@m-roberts

Description

@m-roberts

Currently, all evaluations are run in isolation. However, it is often beneficial to compare the results of against another evaluation.

LangSmith supports evaluating existing experiments in a comparative manner. Under the hood, this can be achieved via the SDK by using aevaluate() with two existing experiments.

I'm not quite sure of the best way to implement this via the config file. I was thinking that it could be something that is performed after a new experiment has been created if an experiment to compare against is provided via the config file - i.e. create a new experiment and then create a pairwise evaluation for it against a base. It could also be that the config has an option for "compare to previous matching experiment" and performs a look-up of the last evaluation that matches the prefix, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions