From ae648932e075a37c4079fa3340d83d5c4437f8ac Mon Sep 17 00:00:00 2001 From: medusa Date: Sat, 18 Nov 2023 04:51:05 +0000 Subject: [PATCH] Update docs/llm/Effective-LLM-Prompting.md --- docs/llm/Effective-LLM-Prompting.md | 34 ++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/docs/llm/Effective-LLM-Prompting.md b/docs/llm/Effective-LLM-Prompting.md index 287649f..9704fc1 100644 --- a/docs/llm/Effective-LLM-Prompting.md +++ b/docs/llm/Effective-LLM-Prompting.md @@ -166,16 +166,34 @@ Through the strategic use of Generative Operations, you can encourage LLMs to ve ## 🔄 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: +Transformation Operations are crucial when the objective is to adapt the form or presentation of information without altering its intrinsic meaning or content. These operations are instrumental in tasks that demand content conversion or adaptation, ensuring the essence of the original input is preserved. -These operations alter the format of the input without significantly changing its size or meaning. +### - **Reformatting**: + - *Application*: Apply reformatting to change how information is presented, making it suitable for different formats or platforms. + - *Example*: "Reformat the provided JSON data into an XML schema for integration with a legacy system." + +### - **Refactoring**: + - *Application*: Use refactoring to streamline and optimize text without changing its underlying message, often to improve readability or coherence. + - *Example*: "Refactor the existing code comments to be more concise while preserving their explanatory intent." + +### - **Language Change**: + - *Application*: Facilitate communication across language barriers by translating content, maintaining the message across linguistic boundaries. + - *Example*: "Translate the user manual from English to Spanish, ensuring technical terms are accurately conveyed." + +### - **Restructuring**: + - *Application*: Implement restructuring to enhance the logical flow of information, which may include reordering content or changing its structure for better comprehension. + - *Example*: "Restructure the sequence of chapters in the training manual to follow the natural progression of skill acquisition." + +### - **Modification**: + - *Application*: Modify text to suit different contexts or purposes, adjusting aspects such as tone or style without changing the core message. + - *Example*: "Modify the tone of this press release to be more suited for a professional legal audience rather than the general public." + +### - **Clarification**: + - *Application*: Clarify complex or dense content to make it more understandable, often by breaking it down or adding explanatory elements. + - *Example*: "Clarify the scientific research findings in layman's terms for a non-specialist audience, providing analogies where appropriate." + +By adeptly applying Transformation Operations, you can mold content to fit new contexts and formats, expand its reach to different audiences, and enhance its clarity and impact. This adaptability is especially valuable in a world where information needs to be fluid and versatile. -- **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. ## 🧠 Bloom’s Taxonomy in Prompt Crafting