Alex Strebeck
🧠Prompt Engineering
1y ago
3 types of prompting LLMs:
1. Standard Prompt
2. Chain of thought prompting
3. Prompt chaining
1/6
Alex Strebeck
1y ago
1. Standard prompt:
This is just asking a basic question and getting a basic (often wrong) answer.
But life can be better than this...
2/6
Alex Strebeck
1y ago
2. Few-Shot Prompting:
Provide in-context learning for LLMs by giving one example of a similar situation (question and answer), then asking about the scenario you need an answer for in the same prompt. This context helps LLMs answer accurately.
3/6
Alex Strebeck
1y ago
3. Prompt chaining:
Prompt chaining allows for multi-step operations. For example, in LLMs, one prompt can extract relevant quotes from a document, while another prompt uses these quotes and the original document to answer a question. Using the output of 1 prompt for the next.
4/6
Alex Strebeck
1y ago
Prompt chaining cont....
By chaining prompts your effectively creating a workflow and only asking the LLM to do 1 task at a time.
5/6
Alex Strebeck
1y ago
Don't forget to follow if your ready for more content like this.
6/6