this post was submitted on 15 Jul 2023
505 points (95.8% liked)
Technology
59594 readers
2893 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So what are the fundamentals in prompt engineering?
It’s impossible for me to comprehensively summarise in a comment because everyone has different use cases.
Personally, every new ‘project’ of mine requires a new chat. I first teach chatgpt-4 who I am, what I do, and how I want gpt-4 to assist me. Then I ask it to generate a project profile and to analyse documents using plugins.
The key is to work step-by-step and develop a string of prompts. Once I’m happy gpt-4 understands the project, I ask it to draft an overview/outline using headings and subheadings.
Lastly, I work on each section individually, ‘filling in’ the actual content. Then I edit and ask it to review problematic sections.
Most people, as far as I can tell, seem to think it’s a single ask-and-answer process. It’s not. I often need to draft about 10 prompts – about 3000 words – in order to generate one 10 page document.
I think the most important fundamental is to use templates. Pro tip: use gpt-4 to teach you how to develop your prompt templates.
Do you have an anonymized example of one of these templates? I’m curious to see what they may look like.