/PromptEnhancer

A tool designed to enhance user prompts to be inputted into LLMs

Primary LanguagePython

Sure! Here's a proposed GitHub README.md for your application:


Prompt Enhancer 💬

Welcome to the repository for the Prompt Enhancer, a Streamlit web application designed to enhance your interaction with Large Language Models (LLMs) such as GPT-3.5 Turbo by OpenAI.

Overview 📖

Prompt Enhancer takes a user input (a prompt intended for a language model) and refines it to generate optimal results. The user can then select an enhanced prompt for re-inputting into an LLM, thus increasing the efficiency of their interaction with the LLM.

Features 💡

  • Prompt enhancement: Improves the prompt you're intending to input to LLMs.
  • Multiple suggestions: Offers three differently worded prompts based on your original input.
  • Explanation for each prompt: Provides reasoning for each suggestion to help understand how it improves upon the original.

Tech Stack 🔧

  • Streamlit: Open-source app framework for Machine Learning and Data Science projects.
  • OpenAI API: Powers the app with language model GPT-3.5 Turbo.
  • LangChain: A library to develop and manage prompt engineering techniques for Language Learning Models (LLMs).

Installation and Usage 💻

  1. Clone the repository to your local machine.
git clone https://github.com/MichaelElHage/PromptEnhancer.git
  1. Navigate to the cloned repository.
cd PromptEnhancer
  1. Install the required Python packages.
pip install -r requirements.txt
  1. Run the Streamlit app.
streamlit run app.py
  1. Your browswer will automatically take you to the app page, and input your OpenAI API Key when prompted.

Contribute 🤝

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

Show your support ⭐

Give a ⭐️ if this project helped you!

Contact 📧

Email: elhagemi@msu.edu

Twitter: @nachloride27

GitHub: @MichaelElHage


Please replace the repository URL and other details as necessary.