Update docs/llm/Effective-LLM-Prompting.md

This commit is contained in:
2023-11-18 04:21:03 +00:00
parent 9c660077b4
commit c5b852a74b

View File

@@ -97,8 +97,15 @@ Implementing these strategies can significantly improve the effectiveness of you
This guide is designed to help refine your prompt crafting skills, enabling more effective and efficient use of LLMs for a range of applications.
---
# 📘 Ultimate Guide to Prompt Crafting for LLMs
# Reductive Operations
## 📜 Context for Operations in Prompt Crafting
In the realm of Language Learning Models (LLMs), crafting the perfect prompt involves a nuanced understanding of various linguistic operations. These operations are categorized based on their functions and the nature of their output relative to their input. This section of the guide dives into three critical types of operations—Reductive, Generative, and Transformational—which are foundational to refining prompts and eliciting the desired responses from LLMs.
## 🗜 Reductive Operations
Reductive Operations are essential for distilling complex or voluminous text into more digestible and targeted outputs. They play a crucial role when prompts require the LLM to parse through extensive data and present information in a condensed form. Here's how you can leverage these operations to enhance the efficiency of your prompts:
These operations condense extensive text to produce a more concise output, with the input typically exceeding the output in size.
@@ -110,7 +117,9 @@ These operations condense extensive text to produce a more concise output, with
- **Evaluation**: Assess the content by measuring, grading, or judging its quality or ethics.
- **Critiquing**: Offer constructive feedback based on the text's context, suggesting areas for improvement.
# Generative Operations
## ✍️ Generative Operations
Moving beyond condensation, Generative Operations are at the heart of prompts that aim to produce expansive content. These operations are pivotal when the input is minimal, and the goal is to generate detailed and comprehensive outputs, often from scratch or a mere idea:
These operations create substantial text from minimal instructions or data, where the input is smaller than the output.
@@ -119,7 +128,9 @@ These operations create substantial text from minimal instructions or data, wher
- **Brainstorming**: Employ imagination to enumerate possibilities, facilitating ideation, exploration, problem-solving, and hypothesis formation.
- **Amplification**: Elaborate on a concept, expanding and delving deeper into the subject matter.
# Transformation Operations
## 🔄 Transformation Operations
Transformation Operations play a significant role in altering the format or presentation of the input without losing its essence. They are particularly useful in tasks that require conversion or adaptation of content while maintaining its core information:
These operations alter the format of the input without significantly changing its size or meaning.
@@ -130,7 +141,9 @@ These operations alter the format of the input without significantly changing it
- **Modification**: Edit the text to alter its intention, adjusting tone, formality, diplomacy, or style.
- **Clarification**: Elucidate content to increase understanding, embellishing or articulating more clearly.
# Blooms Taxonomy
## 🧠 Blooms Taxonomy in Prompt Crafting
Blooms Taxonomy offers a structured approach to creating educational prompts that facilitate learning and knowledge assessment. It categorizes cognitive objectives, which can be highly useful in designing prompts that target different levels of understanding and intellectual skills:
This taxonomy provides a hierarchical framework for categorizing educational objectives by increasing complexity and specificity.
@@ -147,7 +160,9 @@ This taxonomy provides a hierarchical framework for categorizing educational obj
- **Creating**: Innovate and formulate new concepts or products.
- Initiate and develop original creations or ideas that enhance or extend existing paradigms.
# Latent Content
## 💡 Latent Content in LLM Responses
Understanding latent content is critical for prompt crafting, as it encompasses the knowledge and information embedded within an LLM. Effective prompts activate this latent content, enabling the LLM to produce responses that are insightful and contextually relevant:
This term refers to the reservoir of knowledge, facts, concepts, and information that is integrated within a model and requires activation through effective prompting.