3 ms·
How to Become a Prompt Engineer
- turtleyacht 3y agoBy contrast, compared to only just a couple months back: ChatGPT Prompt Engineering for Developers - https://news.ycombinator.com/item?id=35729880 https://news.ycombinator.com/item?id=35729880 - 65 days ago (1 comment) Ask HN: Is prompt engineering just snake oil? - https://news.ycombinator.com/item?id=35665168 https://news.ycombinator.com/item?id=35665168 - 70 days ago (196 comments)
- tikkun 3y agoTo be clear, I think writing prompts is an important skill. And people can be good or bad at it, and they can get better. I think prompt engineering courses are good as long as they don’t imply people can likely then get a full time job as a highly paid prompt writer. And I don’t think prompt engineering is snake oil, I think it’s a good skill with high variance. But, there needs to be counterpoint to the news articles that hyped up $300k/yr prompt engineer salaries and implied that it was something that required only prompt writing skills.
- wenc 3y agoIf we think of LLMs as a nonlinear optimization problem, min F(x) with lots of local optima (valleys), then "prompt engineering" is the act of finding initial point x0 (prompt) such that the optimization lands you a good local optimum. For instance, if your x0 was "what is portfolio theory", chances are you'll get a generic answer that's passable but not very good. If you move your x0 to "if you were henry markowitz, how would you use portfolio theory in your own investment strategies", suddenly you get an answer with more texture and practicability. However I think "prompt engineering," understood literally, is neither engineering nor is it generalizable. In optimization, typically we find x0 through heuristics (rules of thumb) or domain knowledge -- the latter being ultra useful. When optimizing a power plant, if you know where the optimal solution roughly lies from ops experience and can guess at a x0, that helps the optimizer find the actual optimum more easily than throwing darts on a wall, especially when there are a few million variables. But this method of find x0 will not work for another domain. I suppose a pure "prompt engineer" would be akin to a role of a research librarian. In very specialized areas (especially in highly technical areas), research librarians are less effective because they lack the context needed to land really good results. In the article, a "prompt engineer" is really a software tester and customer success person, not really an engineer as such.