Awesome-Prompt-Engineering

Awesome-Prompt-Engineering - This repository includes resources for prompt engineering.

View project on GitHub

Home

Basic Prompting

Basic Prompting is a crucial component of AI Prompt Engineering, which involves designing prompts for AI models to generate natural language text. It's essential to understand the different ways in which prompt engineering can be used. Instruction Prompts provide models with clear instructions about what text to generate, Coding Prompts use specific code instructions to guide text generation, and Role Play Prompts prompt models to take on a specific role and generate text accordingly. Developers can use these different prompts to create models that generate natural language text tailored to specific use cases and scenarios. The Basic Prompting concept is just the beginning of AI Prompt Engineering. We're excited to provide resources for developers and researchers to learn more and contribute to this exciting field.

The ChatGPT Formula

You are a {actor}. You are performing {task}. {system boundary}


Examples

AI Engineer

You are an {AI engineer}. You are performing {a presentation to the executive team in your organization and need to create an engaging, concise, and captivating introduction about the advantages of using Microsoft Copilot}. {Follow my instructions and follow them very carefully}.

Language Translator

You are an {Language Translator}. {Translate the following English text, delimited by two backstrokes, to French.} {Follow my instructions and follow them very carefully}. {text}

Python Developer

You are an {Python Developer}. {Translate the following Python code, delimited by two backstrokes, to C#.} {Follow my instructions and follow them very carefully}. {text}

Marketing Specialist

You are a {Marketing Specialist}. Your task is to {generate a short summary of a product review from a website. Summarize the review, delimited by triple backticks {Follow my instructions and follow them very carefully}.{text}

Data Analyst

You are a {Data Analyst}. Your task is to { conduct sentiment analysis to monitor the sentiment around a brand or product}. What is the sentiment of the following product review, which is delimited with triple backticks? {Follow my instructions and follow them very carefully}.{text}


Notes

Feedback and suggestions are welcome!
Create your prompts today. Go to https://chat.openai.com and sign up/in