Almost every day someone asks me whether DSPy can be used to “avoid prompting all together.” I wonder whether the marketing is confusing people, while clarifying that I am not hating on DSPy and am trying to understand the confusion.
In a reply to my own thread, I laughed and acknowledged that @jobergum’s explanation made sense: “Hahahahahahahahaha ok 👍 makes sense now”.
I wryly observed that “we are back to magic phrases again for prompting.”
I called the diversity seed in the larger design prompt the article’s best idea, and was amazed that it worked. The prompt was: “Generate a long, random alphanumeric string using a shell script.”
In my experience, Automated prompt optimizers are in the same class as off the shelf automated evals.
I warn that these tools can become a dangerous comfort blanket to make you feel like you are making progress but in the long term it becomes tech debt.
My closing advice is: “Take your prompts and run.”
I tentatively assessed the technique this way: EDIT: I might be WRONG. It looks like pre-fill happening.
I thought it still works in somewhat the same sense seems to guide the model strongly. Maybe it doesn't matter though and you should still use this technique.
I later corrected my assessment: I know pre-fill isn't happening b/c I still get this, but I get "llow" many times if I re-run this. So its like basically some kind of half-ass way to guide it but it is not pre-filling.
I have seen prompts in the wild with very terse, incomplete instructions unintelligible to humans.
I have seen prompts in the wild with poor grammar, bad formatting.
I have seen Few shot examples that don’t match production (like missing a critical input field).
I have seen legacy ways to get structured data with instructions only.
I think effective prompting depends on communicating clearly with models, valuing human language, and learning from the prompts used by other tools.
I put the idea emphatically: “the way to make AI work effectively is to gaslight the hell out of it.”
I described a programming abstraction as “a human-like language you can use to translate your task into machine code.”
I described an LLM abstraction as “an unintelligible framework you can use to translate your task into human language.”
I said, “There are good LLM abstractions, but many take it too far forgetting how valuable human language is.”
I think writing prompts is underrated.
I said, “Sometimes I get clever ideas for prompting or something that I hadn’t considered by looking at the prompts” when explaining the value I find in inspecting tool prompts.
I describe my X timeline as a self-induced FYSMTP bubble that I like.
I appreciate it when friends share their prompts with me.
The most useful bit of my system prompt is to suggest improvements to my prompt that I can make to avoid similar mistakes in the future.
I want prompt improvement suggestions to appear in separate <prompt-improvement> tags.
I define prompt “Kruft” as bullshit in the prompt because you didn’t write it yourself.
I identify copy pasta’d someone else’s 500 line thing from Twitter as a source of prompt Kruft.
I also identify using a library that “prompts for you” as a source of prompt Kruft.
I agree with the criticism of excessive Kruft in prompts, and I am traumatized from all the prompt reading I do.