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

This commit is contained in:
2023-11-18 04:06:55 +00:00
parent b9db9bc2ef
commit 037c30a52c

View File

@@ -65,3 +65,36 @@ This guide is crafted to empower developers and enthusiasts in creating effectiv
## 🔚 Conclusion ## 🔚 Conclusion
This guide is designed to help refine your prompt crafting skills, enabling more effective and efficient use of LLMs for a range of applications. This guide is designed to help refine your prompt crafting skills, enabling more effective and efficient use of LLMs for a range of applications.
---
# Reductive Operations
These operations condense extensive text to produce a more concise output, with the input typically exceeding the output in size.
- **Summarization**: Condense information using lists, notes, or executive summaries.
- **Distillation**: Filter out extraneous details to highlight core principles or facts.
- **Extraction**: Isolate and retrieve targeted information, such as answering questions, listing names, or extracting dates.
- **Characterizing**: Provide a synopsis of the text's content or its subject matter.
- **Analyzing**: Detect patterns or assess the text against a specific framework, such as structural or rhetorical analysis.
- **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
These operations create substantial text from minimal instructions or data, where the input is smaller than the output.
- **Drafting**: Craft a preliminary version of a document, which can include code, fiction, legal texts, scientific articles, or stories.
- **Planning**: Develop plans based on given parameters, outlining actions, projects, goals, missions, limitations, and context.
- **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
These operations alter the format of the input without significantly changing its size or meaning.
- **Reformatting**: Modify only the presentation form, such as converting prose to a screenplay or XML to JSON.
- **Refactoring**: Enhance efficiency while conveying the same message in a different manner.
- **Language Change**: Translate content across different languages or programming languages, e.g., from English to Russian or C++ to Python.
- **Restructuring**: Reorganize content to improve logical flow, which may involve reordering or modifying the structure.
- **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.