Unlock full potential when prompting AI.
Act as a [Role], perform a [Task] in a [Format]
Role | Task | Format |
---|---|---|
Author | Essay | List |
CEO | Article | |
Designer | Receipe | XML |
Marketer | Ad Copy | HTML |
Inventer | Analysis | Code |
Therapist | Headline | Table |
Journalist | Blog Post | Chart |
Advertiser | Summary | Graph |
Copywriter | Sales Copy | Project |
Accountant | Video Script | Rich Text |
Ghostwriter | Book Outline | Summary |
Enterpreneur | SEO Keywords | Markdown |
Mindset Coach | Course Outline | Word Cloud |
Prompt Engineer | Email Sequence | Spreadsheet |
Project Manager | Social Media Post | Presentation |
Website Designer | Product Description | Plain Text File |
Which should I use? Prompt Engineering, RAG or Fine Tuning?
Prompt Engineering | RAG | Fine Tuning |
---|---|---|
The practice of designing and refining input prompts to elicit desired responses from AI models. | A technique that combines pre-trained language models with external knowledge retrieval systems. | The process of further training a pre-trained model on a specific dataset to adapt it to a particular task or domain. |
Goal | ||
To guide AI behaviour without changing the model. | To enhance AI responses with up-to-date and relevant external information. | To specialize a model for specific tasks or domains. |
Use Cases | ||
• General purpose interactions • Creative writing assistance • Task instructions for AI • Controlled content generation |
• Question answering systems • Fact-checking applications • Research assistants • Customer support chatbots |
• Sentiment analysis • Named entry recognition • Text classification • Domain language generation |
Complexity | ||
Understanding of model behaviour but no programming skills required | Retrieval system integration & query formularion skills | Deep learning, dataset preparation & training management |
+ Pros | ||
• Quick to implement and interate • No need for additional data/training • Flexible and adaptable to various tasks • Can improve model performance without changing underlying structure |
• Enhances responses with up-to-date external information • Improves factual accuracy/relevance • Can handle a wide range of queries • Reduces hallucination in AI responses |
• Produces highly specialized models • Significantly improves performance in target domains • Allows model behaviour customization • Learns task-specific patterns • Requires less context & short prompts |
- Cons | ||
• Limited by the base model's knowledge & capabilities • May require extensive trial & error • Results can be inconsistent/unpredictable • Effectiveness depends on skills of the prompt engineer! ==> improve prompt engineering skills and use the ChatGPT Prompt Framework |
• Requires maintenance of external knowledge bases • Can be computationally intensive • May introduce latency due to retrieval process • Effectiveness depends on the quality & relevance of retrieved information |
• Requires substantional computational resources and technical knowledge • Needs large, high-quality datasets for effective training • Risk of overfitting to the training data • Less flexible, fine-tuned models may perform poorly on unrelated tasks |
GenAIGeek