Skip to content

support for custom evaluators that have additional dependencies #58

@peterj

Description

@peterj

Problem or motivation

currently, if a custom evaluator requires a specific dependency, we don't do anything special about it -- i.e. we'll run the evaluator and if it fails, it fails. this means user will have to install the dependencies in the evaluator manually.

Proposed solution

Haven't thought through what the best approach here would be, but we'd need to figure out a better way to handle the custom evaluator dependencies and install them.

One approach would be to check if the custom evaluator contains the requirements.txt file and then install the dependencies before executing the evaluator. We'd probably need a new virtual environment for the custom evaluator and install/execute it within that.

Human confirmation

  • I am a human (not a bot, agent, or AI) filing this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions