SIMRAN719 / Proposify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proposify

Proposify is a powerful Streamlit application designed to help you generate comprehensive Business Requirements Documents or Proposal files. Whether you need a customized document with specific sections or a default template, Proposify makes it easy to create, view, and download your BRDs in text format.

Tech Stack

  • Python: Core programming language used for developing the application.

  • Streamlit: Framework for building the interactive web application.

  • OpenAI API: Used for generating BRD content using advanced language models.

  • FPDF: Library for generating PDF files.

  • dotenv: For managing environment variables securely.

  • langchain-community: Provides utilities for interacting with OpenAI models.

Features

  • Customizable BRD Sections: Select the sections you need from a predefined list to create a tailored BRD.
  • Default BRD Option: Quickly generate a BRD with default sections for a fast, standardized document.
  • User-Friendly Interface: Input your requirements through an intuitive text input field.
  • Integration with OpenAI: Leverages OpenAI's powerful language models to generate detailed and accurate document content.

Installation

Prerequisites

  • Python 3.7 or higher
  • Streamlit
  • OpenAI API key

Steps

  1. Clone the Repository:

    git clone https://github.com/SIMRAN719/Proposify.git
    cd proposify
  2. Set Up a Virtual Environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install Required Packages:

    pip install -r requirements.txt
  4. Set Up Environment Variables:

    • Create a .env file in the root directory.
    • Add your OpenAI API key to the .env file:
      OPENAI_API_KEY=your_openai_api_key

Usage

  1. Run the Streamlit Application:

    streamlit run main.py
  2. Open the Application:

    • Usually available at http://localhost:8501 in your web browser.
  3. Generate Your Business Proposal File:

    • Select "Customized" to choose specific sections, or "Default" for a standard template.
    • Enter your requirements in the provided text input field.
    • View the generated document and download it as a text file.

Dependencies

  • Streamlit: For building the web application interface.
  • OpenAI: For generating document content using language models.
  • FPDF: For creating PDF documents.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure your code adheres to the project's coding standards and includes relevant tests.

License

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

About

License:MIT License


Languages

Language:Python 91.3%Language:C++ 5.8%Language:Cython 2.1%Language:C 0.6%Language:Fortran 0.0%Language:PowerShell 0.0%Language:JavaScript 0.0%Language:XSLT 0.0%Language:Smarty 0.0%Language:Roff 0.0%Language:CSS 0.0%Language:Forth 0.0%Language:Assembly 0.0%Language:Meson 0.0%Language:Batchfile 0.0%Language:Jinja 0.0%Language:Shell 0.0%Language:HTML 0.0%Language:CMake 0.0%