https://promptfoo.dev/ logo
Problem with output file
# ❓|questions
a
I have unsolved problem with using output file. Writing output to /tmp/output.json ====================================================================== Failed to write latest results to /.promptfoo/output/eval-2023-11-06T08-44-25.875Z.json: Although. I use configuration where I define outputPath as /tmp/data. What I am doing incorrectly ?
@ian 🙏
i
hey @arslan.yersain, try setting the
PROMPTFOO_CONFIG_DIR
environment variable to a writeable directory, or set
write: false
in the config yaml.
a
thank you, first option works fine
@ian Hello ! I have one more question, is it possible to deploy promptfoo with only opened 8000 port and closed 15500. I am using -p flag, but handler /eval need 15500 port anyway
However, I expose 15500 port in kuber pods, same problem remain
i
Right now alternate ports are not well supported. Working on a change for this
a
thank you for answer), but why it addresses to localhost while i am running on server
i
Right now the
localhost:15500
is hardcoded - it's not set up to run on a shared server 🙂
a
thanks)
5 Views