Skip to content

🤖 Transform natural language into structured AI system prompts. The engine behind prompts.maux.site - save time from prompt engineering with a simple script.

Notifications You must be signed in to change notification settings

MauxPlatform/PromptKadeh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 PromptKadeth

The backbone of prompts.maux.site - Generate powerful system prompts from natural language!

✨ What is this?

This simple script transforms natural language descriptions into structured system prompts for AI assistants, saving you time and effort in prompt engineering.

🧠 How It Works

The magic happens in prompt_builder.py module, which contains carefully crafted system prompts that instruct the AI how to generate new prompts. These "meta-prompts" guide the AI to:

  1. Analyze your natural language description
  2. Extract key capabilities, constraints, and requirements
  3. Structure this information into a formal system prompt with clear sections

it offers three detail levels (concise, medium, detailed) and supports multiple languages, allowing you to generate prompts tailored to your specific needs.

🚀 Quick Start

  1. Install dependencies:
pip install openai python-dotenv
  1. Set your OpenAI API key in a .env file:
OPENAI_API_KEY=your_api_key_here
  1. Generate a prompt:
from services.prompt_service import PromptService

service = PromptService()
result = service.generate(
    prompt="a helpful coding assistant",
    prompt_length="medium"  # Options: "concise", "medium", "detailed"
    output_language="fa" # can be English too
)

print(service.format_output(result))

🔍 Output

You'll get a structured prompt with:

  • System prompt
  • Instructions
  • Constraints
  • Output format
  • Examples

🌟 Why Use This?

Save time creating system prompts and ensure consistent, high-quality AI interactions for your applications!

About

🤖 Transform natural language into structured AI system prompts. The engine behind prompts.maux.site - save time from prompt engineering with a simple script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published