https://promptfoo.dev/ logo
how to run jupyter Notebook file?
# ❓|questions
s
can we use like this? providers: ['exec: python retrieve.ipynb'] ?
i
you could export it to python and run
python notebook.py
. The
exec
command just runs the provided command in your shell
s
sorry, I did not understand , could you please give more details? my notebook is running inside the docker where I installed python related packages, In order to run in notebook shell, we need nodejs?
what I understood that I have to move code to retrieve.py file then run ?
i
yep, you will have to move the code into an executable file
s
thank you
4 Views