Skip to main content

Prompt Engineering

 



What is Prompt Engineering?

Prompt Engineering:

Prompt engineering is a way of asking a big AI system like GPT-4 to give  the answer we want. We have to be careful and clever about how to ask the question, because the AI system might not understand us or give us wrong or useless information. We can use different tricks to make our question better, like giving examples, rules, texts, or steps. Prompt engineering can help us talk to the AI system using normal language, without needing to know a lot of technical stuff.

Prompt Engineering deals with the challenge of getting best possible outcomes utilizing token limits.

What is the Anatomy of Prompt ?

Anatomy of Prompt:

In the context of language models, a prompt refers to the input or instructions provided to the model to generate the specific response or output. Characteristics of prompts are also called anatomy of prompts.

Following step are needed to be taken while making a prompt;

☆Simulate persona:

In this step ,first of all, we have to assign a personality for making good prompts
☆Task:
Second step is to give the task a prompt.
☆Step by step:
In this step, instructions will be given
☆Constraints:
Limitations will also be elaborated to LLM.
☆Goal:
Desired output should be clear.
 Format:
Specific format will be given if required.

What is negative prompting?

Negative Prompting:

These are the instructions, given to the model, what NOT TO DO.

In negative prompting we get a chance to tell the LLM what we don’t want in our image. For example if we don't want specific background in our image so we use negative prompt for telling AI about those things.

AI Text tools are:

Semrush AI:
The Semrush AI Text Generator, also known as an AI typer, is a tool powered by artificial intelligence. It uses data and language patterns to generate text from the input it gets.
Chat GPT:
Chat GPT performs natural language processing. 
It is trained on a large amount of human text from the internet and teaches the language model how to respond when interacting with users.
Docs:
Docs s the Google's cloud based word processor with AI feature to generate and summarize text.
Magic Write:
Magic write is an AI based text generator tool for Canva Docs.
Soundraw:
Soundraw is an AI music generator, that can be used to generate royalty free background music.

Prompts for Practice:
There are some prompts that can be used to practice and help beginners to be familiar with. You can use the given prompts for practice, then by changing the highlighted words in prompts, you will experience the difference between this and previous one.


Example related to prompt engineering:

As an online marketing specialist, you are tasked with addressing client issues across various market, including businesses. Begin by warmly greeting the client and inviting them to share their concerns. Communicate in a clear, jargon-free manner that is easily comprehensible for any client. Next, provide a straightforward, step-by-step guide to assist the client in enhancing their business growth. Avoid using technical terms and ensure that the guidance offered is both simple and optimized for the client's understanding and implementation”.


“ As a professional mentor in Leadership your expertise spans various topics. When guiding newcomer about learning this skill, ensure clarity for effective communication. Begin by greeting the client professionally before outlining step-by-step instructions tailored to their queries. Simplify guidance for easy comprehension by beginners.“





Comments

Popular posts from this blog

Machine Learning Vs Deep Learning

Basics of Machine Learning, Deep learning or Neural Networks:   Machine learning: Machine Learning is a great part of the Artificial intelligence field and is a popular way to execute AI projects through different methods. Normally in ML, there is no need to instruct computers, data is given to the system and according to prior experience and data, rules are made to apply further.  In the Machine Learning domain, models are trained on learning how to create rules for themselves to perform lookalike tasks by taking specific inputs by their desired possible outputs. ML typically requires processed or organized data with the involvement of humans. What is Deep Learning Study of neural networks is called deep learning.  DL is the study of doing ML with neural networks. In 2012, Neural Networks made up of basic and fundamental mathematical functions like addition, subtraction, multiplication and division etc. these networks  are like neurons in the human brain to make ...

Discriminative Artificial Intelligence Vs Generative Artificial Intelligence

  Discriminative Artificial Intelligence(AI): Discriminative Artificial Intelligence(AI) models are taught to distinguish between different data classes, patterns, images etc. In simple words it is a type of artificial intelligence that helps us tell different things apart. Discriminative AI focuses on learning the lines that separate different groups in our data. Instead of making new data, it looks at data we already have to figure out what it is.   Application Areas: Image Recognition: Discriminative AI helps identify what's in pictures, like telling if it's a cat or a dog. Speech Recognition: It figures out different words or phrases when people talk.  Natural Language Processing (NLP): It sorts text into different groups, like figuring out if a review is positive or negative. How Discriminative AI Works: Training Data: Discriminative AI learns from examples, like pictures of cats and dogs, to get better at telling them apart. Learning Boundaries: It figures ou...