News for hackers. Stuff that matters.
Re:Show HN: Automatic Prompt Optimizer for LLMs by capableweb on Friday April 21, 2023 @08:17PM (#35661965)
The workflow you get with this is that it helps you to think about what you really want answered with the prompt.

For example, latest try had this initial prompt:

> How can I create collisions in Bevy and Rust?

After 4-5 messages back and forth, I ended up with:

> What is the most efficient method to implement 2D collision detection for a large number of constant-radius circles randomly distributed in Bevy and Rust without using third-party tools, focusing on detection only, without any unique properties or attributes affecting the detection process?

Which is much more explicit and targeted to what I initially wanted to do, but didn't write. It ended up helping me implement a Quadtree solution which I don't have any experience with before, but overall it went smoothly.

Re:Show HN: Automatic Prompt Optimizer for LLMs by charcircuit on Friday April 21, 2023 @11:57PM (#35663216)
How do you know that the prompt you got to is at least a local maximum? Would chancing "method" to "function" provide better results? Did you do any benchmarking?
Re:Show HN: Automatic Prompt Optimizer for LLMs by capableweb on Saturday April 22, 2023 @05:22AM (#35664741)
The aim is not any local maximum, is improving the prompt by getting help providing more context.
Re:Show HN: Automatic Prompt Optimizer for LLMs by charcircuit on Saturday April 22, 2023 @05:05PM (#35670929)
That's a pretty bad optimizer then.