Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Prompt Optimizer

A rule-based Prompt Optimizer that improves user prompts before they are sent to a Large Language Model (LLM). The project aims to transform simple or unstructured prompts into clear, structured, and context-rich prompts using predefined optimization rules.

🚧 Current Progress

The project is currently in the rule-based development phase.

✅ Completed

  • Project setup using FastAPI
  • Modular project structure
  • Prompt preprocessing
  • Rule-based optimization framework
  • Intent detection logic for identifying the user's request type (e.g., code, resume, email)

🔄 In Progress

  • Creating optimization rules for each detected intent
  • Prompt formatting and enhancement

📌 Planned Features

  • Complete rule-based optimization pipeline
  • Grammar and text normalization
  • Support for multiple prompt categories
  • AI-powered optimization using LLMs (future enhancement)

🎯 Objective

The objective of this project is to automatically identify the user's intent and optimize the prompt by applying predefined rules, making it more detailed, structured, and effective for AI models.

About

Building a middleware between user and AI models which understands the user natural language and optimizes the prompt and rewrite for better AI response

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages