-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Prompt List Input as a YAML File #37
Comments
Thank you! I like the idea, and I think it overlaps a bit with a feature I've wanted to introduce (the possibility of re-running experiments). Can we brainstorm this a little? 1- I was thinking that since we can export experiments as JSON files, we could (perhaps should), use the same format and file extension to import prompts. The import routine should try to import all prompts in the file, create the appropriate input elements. If it finds additional parameters ( Would that work for you? 2- Does the YML format provide any advantages other than readability, compared to JSON? I have the impression that it could be tricky to express multi-line/complex prompts, but please correct me on that if I am wrong. 3- A selling point for this feature (regardless of format), is that one could easily transfer experiments/prompts from on machine to another, by exporting/importing files, and even keep those in source control. Ler me know what you think. |
https://www.promptfoo.dev/docs/configuration/parameters/ Thanks for your quick reply and inputs. For answers to some of your questions, here is some inspiration we could use. I have been using back and forth ollama-grid-search and promptfoo, and hands down the prior is the winner for user friendliness, simplicity and quick model comparisons etc. but holds huge potential to be the standalone alternative to promptoo, hence the suggestion. |
As an update, I just pushed a new release that allows re-running experiments - basically, it resets the main form with the parameters used on a selected past experiment, and let's the user change params or re-run it straight away. If that works well It's going to be a lot easier to import experiment files (so users can copy stuff from different installations), and I plan to make so that this should work if the file contains only |
The text was updated successfully, but these errors were encountered: