Hello everyone!
In today's video we will learn about prompt.
What is prompt?
Prompt is the process of structuring an instruction that can be interpreted and understood by a generative
AI model.
A prompt is a natural language text describing the task that an AI model should perform.
Prompt acts as an intermediary language, translating human intent to the tasks that AI can execute.
Let's understand some of the key elements of prompt instruction.
Instruction is the core component of the prompt that tells the model what you expect it to do.
As the most straightforward part of your prompt, the instruction should clearly outline the action
you're asking the model to perform.
Context.
Context provides the background or setting where the action should occur.
Context can make prompt more effective by focusing model on a particular subject.
Next key element is the input data.
Input data is the Is a specific piece of information you want the model to consider when generating
its output.
And the last piece of the prompt is the output format.
Output format is an indicator that guides the model on the format or style in which you want the response.
Let's take a look at it, a prompt, and how the key elements are placed in the prompt.
So here's a prompt.
Consider recent research on car sales.
Summarize your finding in the attached report and present your summary in bar chart.
Here we have the instruction as summarize the findings.
Context.
Here is consider recent research on car sale.
The input here is the attached report that we provide as an input.
And the output is present your summary in bar chart.
So we got all the important elements of the prompt highlighted here.
Instruction context input and output.