Spark Prompt is a cutting-edge tool designed to enhance the process of creating, evaluating, and refining problem statements and prompts. Powered by LangChain and the Gemini API, Spark Prompt provides a seamless experience for generating precise and contextually relevant prompts across various domains.
Live Demo: SparkPrompt
- 📝 Problem Statement Generation: Automatically crafts concise and relevant problem statements based on your selected domain and skills.
- 🔍 Prompt Evaluation: Delivers detailed feedback on user-generated prompts, evaluating their relevance, clarity, and completeness.
- ✍️ Prompt Refinement: Suggests improvements to enhance the quality and effectiveness of your prompts.
- 🖥️ Interactive Interface: Provides a user-friendly web interface for real-time interaction and feedback.
Follow these steps to set up and use Spark Prompt:
- Python 3.x
- Streamlit
- LangChain
- Gemini API key
-
Clone the Repository:
git clone https://github.com/your-username/spark-prompt.git
-
Navigate to the Project Directory:
cd spark-prompt
-
Install the Required Python Packages:
pip install -r requirements.txt
-
Set Up Your Google API Key:
export GOOGLE_API_KEY='your_google_api_key_here'
-
Run the Application:
streamlit run app.py
-
Access the Tool: Open your web browser and go to http://localhost:8501 to start using Spark Prompt.
- Generate Problem Statements: Enter the domain and skills to generate a problem statement tailored to your requirements.
- Evaluate Prompts: Submit prompts to receive feedback on their effectiveness and relevance.
- Refine Prompts: Get suggestions to improve your prompts based on the generated problem statement.
Spark Prompt is designed to streamline and improve the prompt creation process. By leveraging advanced AI techniques, it ensures that prompts are not only relevant but also highly effective in addressing specific problem statements. This tool is ideal for educators, researchers, and professionals who need to craft high-quality prompts for various applications.
We welcome contributions to Spark Prompt! To contribute:
- Fork the Repository.
- Create a New Branch.
- Make Your Changes.
- Submit a Pull Request.
Please refer to our contributing guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for more information.