News for hackers. Stuff that matters.
Re:Show HN: Automatic Prompt Optimizer for LLMs by vimax on Friday April 21, 2023 @10:55PM (#35662943)
Or just provide it with sample contexts and expected responses, and ask for a prompt to produce those responses from the given context.
Re:Show HN: Automatic Prompt Optimizer for LLMs by Paul-Craft on Saturday April 22, 2023 @12:44AM (#35663402)
If you prompt it with "sample contexts and expected responses," that is, in fact, a prompt that would produce those results. It's not a bad technique for crafting prompts, either.
Re:Show HN: Automatic Prompt Optimizer for LLMs by vimax on Saturday April 22, 2023 @02:43AM (#35663989)
That’s best when possible, but if each context and response very large, a good prompt is the best way to distill the information without fine tuning.

I suppose you could try asking for shorter examples to provide for a few-shot prompt, could work well in some cases