Welcome to Prompt Enhancer, a streamlit-powered application designed to improve your prompts effortlessly. This tool integrates various prompt engineering principles, as outlined in the paper Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4. With Prompt Enhancer, you can easily apply prompt engineering techniques validated by latest research through a user-friendly interface, enhancing your communication with AI models.
You can access the Prompt Enhancer website directly by visiting the following URL: https://prompt-enhancer.streamlit.app/
- Clone the Prompt Enhancer repository:
git clone https://github.com/lim-hyo-jeong/Prompt-Enhancer.git
- Install the required packages:
pip install -r requirements.txt
- Get OpenAI API key: You can get your OpenAI API key here
- Run Prompt Enhancer:
streamlit run main.py
- Prompt Input: Enter the prompt you want to enhance in the designated text area.
- Skill Application: Select the skills you want to apply to refine your prompt.
- Phrase Inclusion: Choose whether to add specific phrases that guide the AI towards generating better responses.
- Enhancement: Click the "Enhance!" button to apply your selections and view the enhanced prompt.
Prompt Enhancer incorporates various prompt engineering techniques grounded in the principles from VILA-Lab's Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4 (2024). Additionally, the tool offers users the option to incorporate emotional prompts such as "This is very important to my career," inspired by Microsoft's Large Language Models Understand and Can Be Enhanced by Emotional Stimuli (2023). Users can also choose to include phrases like "Take a deep breath and work on this problem step-by-step," which encourage AI to deliver better responses, which is validated by Google DeepMind's Large Language Models as Optimizers (2023).
- Streamlit: Creates an intuitive user interface for an engaging user experience.
- LangChain: Seamlessly integrates large language models into the application.
- OpenAI API: Connects to the OpenAI models to provide real-time prompt enhancement.
- Email: lim.gadi@gmail.com
- GitHub: @lim-hyo-jeong
- Linkedin: https://www.linkedin.com/in/lim-hyo-jeong/