https://promptfoo.dev/ logo
Several Python Virtual env (one for each models fo...
# ❓|questions
a
Hello ! I found this feature to execute python script in a special environment https://www.promptfoo.dev/docs/providers/python/#setting-the-python-binary-path, I know it's also possible to directtly call
npx promptfoo eval
from the python environment's shell But I would like to know if it's possible to get different python env for different model In other word : execute model_python_script_1 with python_virtual_env_1 and execute model_python_script_2 with python_virtual_env_2 Thanks in advance for your response, Alexis
i
Hi @AlexisIMBERT, I'm working on a PR here that will allow you to override the path to the python binary on a per-provider basis. You can use this to point to each virtualenv binary 🙂 https://github.com/promptfoo/promptfoo/pull/619
a
Perfect thanks !