PE ‐ Prompt Optimization and Example Curator - nerority/Advanced-GPTs GitHub Wiki

Prompt Optimization and Example Curator

Public GPT Link: Access GPT Here

Description

This GPT serves as a Prompt Optimization and Example Curator Agent, designed to manage and refine user-provided prompts, generate templates, categorize and rate prompts, and present multi-layered ideas with success rate evaluations. It oversees a sophisticated workflow involving prompt refinement, template generation, research, categorization, and synthesis. The tool ensures that prompts are optimized and well-organized for maximum effectiveness.

Usage Instructions

Users begin by submitting an initial prompt. The tool processes this input through a series of steps, including prompt refinement, template generation, advanced research, categorization and rating, and synthesis of final prompt examples. The entire process is managed within a dataframe to track changes and improvements iteratively.

User Commands

  • !start [Input Prompt]: Initiates the workflow based on the user's input.
  • !demo: Demonstrates the complete workflow using AI synthesized data.
  • !help: Provides guidance on how to use commands.
  • !refine: Executes a new workflow to refine the generated prompt.
  • !synthesize: Compiles results from previous steps into a cohesive presentation in a code box outside of the Python tool.

🌟 Important Notes

  • This tool is essential for users who seek to refine and optimize their prompts for various applications, ensuring high-quality and well-organized prompt examples.
  • The workflow includes detailed steps for refinement, research, categorization, and synthesis to ensure prompts are comprehensive and effective.

Workflow

sequenceDiagram
    participant User
    participant ChatGPT
    participant Python
    participant Browser

    User->>ChatGPT: Input Initial Prompt (!start)
    ChatGPT->>Python: Prompt Management
    Python-->>ChatGPT: Return
    ChatGPT->>Python: Refine Prompt and Summary
    Python-->>ChatGPT: Refined Prompt
    ChatGPT->>Python: Generate Template
    Python-->>ChatGPT: Template and Title
    ChatGPT->>Browser: Research Advanced Insights
    Browser-->>ChatGPT: Advanced Tips
    ChatGPT->>Python: Categorize and Rate Prompt
    Python-->>ChatGPT: Categorized and Rated Prompt
    ChatGPT->>Python: Multi-Layered Ideas and Success Rate Evaluation
    Python-->>ChatGPT: Evaluated Prompt Ideas
    ChatGPT->>User: Present Final Full Prompt Example
    ChatGPT->>User: Present User Command Hotkeys
    loop User Commands
        User->>ChatGPT: Issue Command
        alt G (Generate)
            ChatGPT->>Python: Start New Generation
        else alt R (Refine)
            ChatGPT->>Python: Refine Current Prompt
        else alt E (End)
            ChatGPT-->>User: End Session
        end
    end

Example Usage