Skip to content

SparkPrompt is a tool that generates, evaluates, and refines prompts using LangChain and the Gemini API. It provides precise, context-aware prompts and feedback, streamlining the prompt creation process for various domains.

License

Notifications You must be signed in to change notification settings

Nitin-Sagar-B/SparkPrompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkPrompt

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

🌟 Features

  • 📝 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.

🚀 Getting Started

Follow these steps to set up and use Spark Prompt:

🛠️ Prerequisites

  • Python 3.x
  • Streamlit
  • LangChain
  • Gemini API key

📥 Installation

  1. Clone the Repository:

    git clone https://github.com/your-username/spark-prompt.git
  2. Navigate to the Project Directory:

    cd spark-prompt
  3. Install the Required Python Packages:

    pip install -r requirements.txt
  4. Set Up Your Google API Key:

    export GOOGLE_API_KEY='your_google_api_key_here'

▶️ Usage

  1. Run the Application:

    streamlit run app.py
  2. Access the Tool: Open your web browser and go to http://localhost:8501 to start using Spark Prompt.

📋 How It Works

  • 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.

🎯 Significance

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.

💡 Contributing

We welcome contributions to Spark Prompt! To contribute:

  1. Fork the Repository.
  2. Create a New Branch.
  3. Make Your Changes.
  4. Submit a Pull Request.

Please refer to our contributing guidelines for more details.

📝 License

This project is licensed under the MIT License. See the LICENSE file for more information.

📬 Contact

For questions or support, feel free to reach out to us on Discord.

About

SparkPrompt is a tool that generates, evaluates, and refines prompts using LangChain and the Gemini API. It provides precise, context-aware prompts and feedback, streamlining the prompt creation process for various domains.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published