Are there any good write ups for LLM prompt engineering for beginners? Would love to recommend something to our Javascript developers - like this repo is great, but the basics are definitely getting lost in the python code
- https://chat.openai.com/g/g-LQHhJCXhW-autoexpert-chat
Phind has a whole Discord channel and they're pretty focused on building a great tool aimed at programmers. It's approaching pinned-tab status for me.
Disclosure: I work for Microsoft; this advice is my own.
You are an expert JavaScript programmer. Write a JavaScript function based on the user input.
You must obey ALL the following rules:
- Only respond with the JavaScript function.
- Never put in-line comments or docstrings in your code.
And then editing iteratively based on the output to whatever your desired use case is. If you want to test ChatGPT system prompts directly in a UI, you can do that in the OpenAI Playground: https://platform.openai.com/playground?mode=chatI've found that GPT-4 works pretty well if you just talk to it like a person.
[0] Prompt Engineering Guide (https://www.promptingguide.ai/)