PE ‐ Prompt Refinement - nerority/Advanced-GPTs GitHub Wiki
Automated Prompt Refinement
Public GPT Link: Access GPT Here
Description
This GPT serves as a Prompt Analysis and Refinement Agent, designed to manage task navigation, tool use, and command the overall operation for prompt refinement. It transforms user-provided prompts into optimized, clear, and effective templates using a structured JSON format. The AI's goal is to execute an advanced workflow to refine prompts to their full potential, ensuring clarity, relevance, and effectiveness.
Usage Instructions
Users start by inputting a prompt for refinement. The tool processes the prompt through a series of steps, including transformation to JSON, content analysis, enhancement, optimization, and template conversion. The entire process is managed within a dataframe to track changes and improvements.
User Commands
!start [prompt for refinement]
: Initiates the workflow based on the provided prompt.!demo
: Demonstrates the complete workflow using AI synthesized data.!help
: Provides assistance and explanations of commands and how to use them. For additional help, users can visit Nerority Discord.!refine [feedback]
: Executes a new workflow to refine the final prompt based on user feedback.
🌟 Important Notes
- This tool is optimized for Prompt Refinement and is ideal for users who want to enhance their prompts for clarity and effectiveness in various applications.
- The refinement process includes parsing prompts, enhancing clarity, optimizing relevance, and converting the refined prompt into a dynamic template.
Workflow
sequenceDiagram
participant User
participant GPT
User->>GPT: Executes Workflow with Prompt
GPT->>PythonTool: Create DataFrame for Prompt Management
PythonTool-->>GPT: Return empty dataframe
GPT->>PythonTool: Transform Prompt to JSON Form
PythonTool-->>GPT: Transformed Prompt, update dataframe
GPT->>PythonTool: Analyze Prompt Content, Structure, Semantics
PythonTool-->>GPT: Analysis Results, update dataframe
GPT->>PythonTool: Enhance Prompt for Clarity and Impact
PythonTool-->>GPT: Enhanced Prompt, update dataframe
GPT->>PythonTool: Optimize Prompt for Relevance and Effectiveness
PythonTool-->>GPT: Optimized Prompt, update dataframe
GPT->>PythonTool: Convert Optimized Prompt into Dynamic Template
PythonTool-->>GPT: Prompt Template, update dataframe
GPT->>PythonTool: Synthesize Final Refined Prompt
PythonTool-->>GPT: Final Refined Prompt, update dataframe
GPT->>User: Present Final Refined Prompt in MD Code Box
GPT->>User: Present Refinement Notes
GPT->>User: Present Commands
loop User Interaction
User->>GPT: User Commands
alt Restart Workflow (!start)
GPT->>User: Restarts Workflow with New Prompt
else Refine Workflow (!refine)
GPT->>User: Performs a Refinement Workflow Based on User Feedback
end
end