It would be cool if, given a handful of test cases, you could send those off to the LLM to generate even more test cases. My first thought when looking over this tool was "Why do I have to do all the work?", the ideal scenario is that I give the high level description and the LLM does the hard work to create the best prompt.
I haven't read the article at all, but what you said just reminded me that I've been using ChatGPT to create Dungeons & Dragons campaigns / adventures / worlds (it's crazy good at that) and one trick i've started doing at the end of a fruitful conversation is to ask it to summarize the discussion so far _in a format to be used as a prompt_. it works more or less.
GPT-Prompt-Engineer
21–30 of 166 posts
Re: GPT-Prompt-Engineer
#22Is this prompt generation for the purposes of prompt engineering? Is this then a kind of meta engineering? Engineering for the purposes of engineering which then hopefully will generate working code for the computer that generated the prompt and the response to the prompt.
A bit like code generation, really. Transpile one code to another and have the execution engine run that.
Re: GPT-Prompt-Engineer
#23I was hoping this would do something more interesting with multiple messages (if using a chat model) rather than just dumping the entire prompt in one message. The assistant lets you do stuff with examples.
Re: GPT-Prompt-Engineer
#24Currently working on something similar for myself, this doesn't seem to fit my needs (benchmarking generations too rather than just classification). I only have a crude cosine similarity metric for accuracy for now. Also I'm using function calling rather than the normal completions. I was hoping this would do something more interesting with multiple messages (if using a chat model) rather than just dumping the entire…
Re: GPT-Prompt-Engineer
#25lololoollool
Re: GPT-Prompt-Engineer
#26Currently working on something similar for myself, this doesn't seem to fit my needs (benchmarking generations too rather than just classification). I only have a crude cosine similarity metric for accuracy for now. Also I'm using function calling rather than the normal completions. I was hoping this would do something more interesting with multiple messages (if using a chat model) rather than just dumping the entire…
Cool for you. What about if you contribute to this one or open-source yours?
Re: GPT-Prompt-Engineer
#27How are they actually ranked?
It seems like a `ranking_system_prompt` is used to rank the output of other prompts, which is pretty cool! > Your job is to rank the quality of two outputs generated by different prompts. The prompts are used to generate a response for a given task. You will be provided with the task description, the test prompt, and two generations - one for each system prompt. Rank the generations in order of quality. If Generation…
Re: GPT-Prompt-Engineer
#28it reminds me of those aircraft that folks in rural india build from time to time.
Re: GPT-Prompt-Engineer
#29Should we really call it "engineering" if its a case of "try random things until one of them works without really knowing why"?
Looks more like science here. Run a bunch of experiments and see which does better. But literally the first sentence of the readme is "Prompt engineering is kind of like alchemy."
Re: GPT-Prompt-Engineer
#30Earlier quoted context omitted.
That's called machine learning.
Gradient descent type optimization is far from "trying random things until one of them works without really knowing why". You can calculate all partial derivatives and understand the impact.
Regarding randomness, the initialization of the weights is random, and if they use dropouts that is random too, plus the order in which to process the text might be random.