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

Fundamentals of Artificial Intelligence

Fundamentals of Artificial Intelligence   What is Artificial Intelligence ? Artificial Intelligence is a branch of computer science that deals with the development of methods that allow computers to learn without explicit programming. Artificial Intelligence is a way of making a digital brain by teaching computers different methods without human interference. In Artificial Intelligence computers learn themselves on the basis of prior experience and learning. Classical AI and Today's AI:   In previous times, AI was used manually or with human intervention. A person used to find a problem and solution by himself, then train the computer after setting rules and solutions related to that particular problem. Today's AI reduced the human effort and hard work. Nowadays, a person has to ask the problem only, AI gives all possible solutions related to that problem. Goal of AI: The goal of AI is to perform tasks as humans can do. For example: Making decisions and judge etc. Value Creati...

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 ...

Diffusion Models

What is the Diffusion model? Diffusion models lie in the domain of Computer Vision. Diffusion is the model of deep learning that deals with latent or hidden variables in an image by adding or removing noise. The diffusion model is a computational framework used in psychology and neuroscience to describe decision-making processes and response times in tasks involving perceptual discrimination or categorization. It proposes that decision-making involves accumulating evidence over time from noisy sensory inputs until a threshold is reached, at which point a decision is made. What is noise? Unwanted information that disrupts the clarity and accuracy of the picture. the context of the diffusion model, "noise" refers to random variability or fluctuations in the accumulation of evidence over time. These fluctuations can arise from various sources, including variability in sensory inputs, neural noise, and random fluctuations in cognitive processing. Stable Diffusion: Stable diffus...