Last active
October 7, 2025 00:33
-
-
Save ih0r-d/f976df219d40573302a8b346e8609a02 to your computer and use it in GitHub Desktop.
Revisions
-
ih0r-d revised this gist
Jun 3, 2024 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,6 @@    ## Table of Contents @@ -22,8 +21,6 @@ - [R-I-S-E](#r-i-s-e) - [M-I-N-D-S](#m-i-n-d-s) - [Examples](#examples) ## Introduction -
ih0r-d revised this gist
Jun 3, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Advanced ChatGPT Prompt Frameworks   -
ih0r-d revised this gist
Jun 2, 2024 . 1 changed file with 0 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -233,11 +233,3 @@ Here are some repositories with example prompts and use cases: - [Prompt Engineering Techniques](https://github.com/gelifatsy/prompt-engineering) - [ChatGPT Prompt Curation](https://github.com/yokoffing/ChatGPT-Prompts) - [Prompt Engineering for Developers](https://github.com/brexhq/prompt-engineering) -
ih0r-d revised this gist
Jun 2, 2024 . 1 changed file with 54 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,33 +5,70 @@   ## Table of Contents - [Introduction](#introduction) - [Key Features](#key-features) - [Application of prompts](#application-of-prompts) - [Prompt Frameworks](#prompt-frameworks) - [R-T-F](#r-t-f) - [S-O-L-V-E](#s-o-l-v-e) - [T-A-G](#t-a-g) - [D-R-E-A-M](#d-r-e-a-m) - [B-A-B](#b-a-b) - [P-A-C-T](#p-a-c-t) - [C-A-R-E](#c-a-r-e) - [F-O-C-U-S](#f-o-c-u-s) - [R-I-S-E](#r-i-s-e) - [M-I-N-D-S](#m-i-n-d-s) - [Examples](#examples) - [Contributing](#contributing) - [License](#license) ## Introduction This gist offers a curated collection of advanced prompt frameworks, meticulously designed to optimize the performance of ChatGPT across a wide array of tasks. These frameworks are engineered to structure prompts effectively, ensuring that the AI generates responses that are not only clear and comprehensive but also contextually relevant and technically accurate. ## Key Features ### 1. Modular Design The prompt frameworks are built with a modular architecture, allowing users to easily customize and extend them for specific use cases. Each module addresses different aspects of prompt construction, including context setting, query refinement, and response validation. ### 2. Context-Aware Structuring By integrating advanced natural language processing techniques, the frameworks ensure that prompts are contextually aware. This helps in maintaining the continuity of conversations and generating responses that are highly relevant to the preceding context. ### 3. Query Refinement Algorithms The frameworks include sophisticated algorithms for refining user queries. These algorithms enhance the clarity and specificity of prompts, reducing ambiguity and improving the precision of the AI’s responses. ### 4. Comprehensive Response Generation Leveraging state-of-the-art language models, the frameworks facilitate the generation of detailed and comprehensive responses. This includes support for multi-turn dialogues, complex question answering, and in-depth content creation. ### 5. Built-In Validation Mechanisms To ensure the reliability of the AI’s outputs, the frameworks incorporate built-in validation mechanisms. These mechanisms assess the accuracy and relevance of responses, providing feedback for continuous improvement of the prompt structures. ## Application of prompts ### 1. Customer Support Enhance automated customer support systems by structuring prompts that guide the AI to provide accurate and helpful responses, reducing the need for human intervention. ### 2. Educational Tools Develop educational applications that utilize well-structured prompts to generate informative and engaging content, aiding in teaching and learning processes. ### 3. Content Creation Facilitate content creation for blogs, articles, and social media by using frameworks that prompt the AI to generate coherent and contextual rich text. ### 4. Research Assistance Assist researchers by structuring prompts that help the AI deliver detailed and precise information, supporting various stages of the research process. ### 5. Interactive Storytelling Create interactive storytelling experiences by using prompts that guide the AI in generating compelling narratives with consistent character development and plot progression. ## Prompt Frameworks -
ih0r-d revised this gist
Jun 2, 2024 . No changes.There are no files selected for viewing
-
ih0r-d created this gist
Jun 2, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,206 @@ # ChatGPT Prompt Frameworks     This repository provides a collection of prompt frameworks designed to enhance the effectiveness of ChatGPT in various tasks. These frameworks help structure prompts to ensure clear, comprehensive, and relevant responses from the AI. ## Table of Contents - [Introduction](#introduction) - [Prompt Frameworks](#prompt-frameworks) - [R-T-F](#r-t-f) - [S-O-L-V-E](#s-o-l-v-e) - [T-A-G](#t-a-g) - [D-R-E-A-M](#d-r-e-a-m) - [B-A-B](#b-a-b) - [P-A-C-T](#p-a-c-t) - [C-A-R-E](#c-a-r-e) - [F-O-C-U-S](#f-o-c-u-s) - [R-I-S-E](#r-i-s-e) - [M-I-N-D-S](#m-i-n-d-s) - [Examples](#examples) - [Contributing](#contributing) - [License](#license) ## Introduction This repository aims to provide structured prompt frameworks for using ChatGPT more effectively. These frameworks guide the creation of prompts to ensure the AI understands the context, task, and desired outcome clearly. ## Prompt Frameworks ### R-T-F - **Role**: Specify the role you want the AI to assume. - **Task**: Define the task you want the AI to perform. - **Format**: Indicate the format in which you want the output. - **Example**: ``` Act as a software architect. Design a scalable microservices architecture for an e-commerce platform. Create a diagram outlining the services, data flow, and interactions between components. ``` ### S-O-L-V-E - **Situation**: Define the context or situation. - **Objective**: Specify the goals. - **Limitations**: Define any limitations or constraints. - **Vision**: Outline the vision or goal. - **Execution**: Plan the steps for execution. - **Example**: ``` You are managing a project to redesign the architecture of a legacy system with tight deadlines and limited resources. Deliver a new software architecture. Limited resources and tight deadlines. Create a modern, scalable architecture. Propose a step-by-step execution plan to transition from the old system to the new architecture. ``` ### T-A-G - **Task**: Define the task at hand. - **Action**: State the action needed. - **Goal**: Clarify the goal to be achieved. - **Example**: ``` Improve the performance of a monolithic application. Conduct a performance analysis, identify bottlenecks and propose a plan to refactor the application into a microservices architecture. Achieve better scalability and maintainability. ``` ### D-R-E-A-M - **Define**: Define the problem or context. - **Research**: State the research needed. - **Execute**: How to execute the plan. - **Analyze**: How to analyze the results. - **Measure**: Define how to measure the outcomes. - **Example**: ``` Challenges in scaling a monolithic application. Potential solutions such as microservices, serverless architecture, and containerization. Implement a pilot project for one of these solutions. Performance improvements. Impact on scalability. ``` ### B-A-B - **Before**: Explain the current situation or problem. - **Action**: State the desired outcome or action. - **Bridge**: Ask to bridge the current state to the desired state. - **Example**: ``` Current monolithic application struggles with scalability issues. Migrate to a microservices architecture. Develop a detailed migration plan including steps to ensure data integrity, minimize downtime, and achieve a smooth transition. ``` ### P-A-C-T - **Problem**: Define the problem. - **Approach**: Describe the approach. - **Compromise**: Write about potential compromises. - **Test**: Define the test or measurement. - **Example**: ``` High cost of maintaining a monolithic application. Migrate to a cloud-native microservices architecture. Initial migration costs and training requirements. How to test the new architecture’s effectiveness. ``` ### C-A-R-E - **Context**: Give the context. - **Action**: Describe the action needed. - **Result**: Clarify the expected result. - **Example**: Provide an example for clarity. - **Example**: ``` Launching a new feature that requires a highly available and scalable architecture. Design a microservices architecture to support this feature. Architecture can handle a sudden increase in user traffic. Provide an example of how this architecture can handle a sudden increase in user traffic ``` ### F-O-C-U-S - **Frame**: Define the frame or context. - **Outline**: State the outline of steps. - **Conduct**: How to conduct the plan. - **Understand**: How to understand or analyze feedback. - **Summarize**: Summarize the findings. - **Example**: ``` Requirements for a scalable and fault-tolerant architecture for a financial application. Steps to design this architecture. Design process. Feedback from stakeholders. Final architecture design and its benefits. ``` ### R-I-S-E - **Role**: Specify the role. - **Input**: Describe the input needed. - **Steps**: Could you ask for steps to follow? - **Expectation**: Describe the expectation. - **Example**: ``` Software architect. Requirements for a new microservices-based application. Develop a detailed architecture plan. Ensure the system is scalable and maintainable. ``` ### M-I-N-D-S - **Map**: Define the map or context. - **Investigate**: What to investigate. - **Navigate**: How to navigate through challenges. - **Develop**: How to develop a plan. - **Sustain**: Plan for sustaining efforts. - **Example**: ``` Current architecture of a legacy application. Potential challenges in migrating to a microservices architecture. Propose solutions for these challenges. Detailed migration plan. Plan for sustaining the new architecture and ensuring it can handle future requirements. ``` ## Examples Here are some repositories with example prompts and use cases: - [Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts) - [Prompt Engineering Techniques](https://github.com/gelifatsy/prompt-engineering) - [ChatGPT Prompt Curation](https://github.com/yokoffing/ChatGPT-Prompts) - [Prompt Engineering for Developers](https://github.com/brexhq/prompt-engineering) ## Contributing Contributions are welcome! Please submit a Pull Request with any improvements or additional frameworks. ## License This project is licensed under the MIT License. Please take a look at the [LICENSE](LICENSE) file for more details.