Chatgpt Prompt Engineering
Chatgpt Prompt Engineering
Engineering
GPT
• Gpt Stands for Generative pre-trained Transformer
• It’s designed to understand and generate human
like text based on the information.
• Gpt is “pre-trained” on a massive dataset, meaning
it has already learned much before you even
interact with it. As a result, it can generate
meaningful responses based on the Knowledge it
has acquired during its training.
• GPT-3 has 175 billion parameters and was trained on 570 gigabytes of
text. Its predecessor, GPT-2, was over 100 times smaller at 1.5 billion
parameters .
• GPT-3 has been trained on massive datasets like common crawl, web
text 2, books ½ and Wikipedia English, examples of programs coded
inCss, JSX, python, etc.
• LLMS predict the next word in a series of words in a sentence and the
next sentences- like autocomplete, but at a mind-bending scale .
Why use Chatgpt?
Personalization:
ChatGPT can tailor its responses to your specific needs and preferences.
Ease of Use:
ChatGPT is super easy to use. You type your question or request into a
text box. And it generates a responses within seconds. It is as simple as a
message app .
Contextual Understanding:
ChatGPT is good understanding the context of your question or requests.
This means it can provide more accurate and relevant based on your
information
Decision Making:
ChatGPT can help you make decision by providing recommendations based on
its knowledge and criteria.
For example , if you need help choosing a topic for a project, ChatGPT can
suggests options based on your interests.
Time – Saving:
Using ChatGPT can save you a lot of time. Instead of spending hours searching
for information online. You can ask ChatGPT for help, and it will provide you
with the most relevant information quickly and effeciently
Prompt Engineering
• Prompt Engineering is designing and refining input text, or “prompts", To guide an AI Model like
ChatGPT in generating specific and relevant responses.
• This process is crucial for effectively utilizing AI models and ensuring they produce the desired
output
Good Prompts
• They make sure that the AI understands your command and provides
relevant responses.
• They help reduce the chances of getting weird responses
• They allow you to harness the full potential of AI models by guiding
them toward specific tasks or problem-solving.
Prompts Types
• Prompt defining
• Prompt Refining
Prompt Defining
• Clarity & specificity
• Context & BG Information
• Desired output
• Specify the format you want the response in, such as a list, a paragraph, or
a bullet point summary.
• This helps the AI understand how to structure its response.
Step 1:
Analyze the AI’S response: Look for issues like vagueness or inaccuracies.
Step2:
Refining Determine what aspects of your prompt might have led to the issues
you’ve identified.
Step 3:
Step4 : Test the revised prompt: Provide the revised prompt to the AI and
analyse the new response.