/WriterGPT

Primary LanguageJavaScriptMIT LicenseMIT

This project is a simple writter system using Python, Django, LlamaIndex, and OpenAI's GPT. The system can write content based on the context provided from some related uploaded articles. The user interface is built using Node.js and React.

Getting Started

  1. Clone the repository:
    git clone https://github.com/Qinxuliang1997/WriterGPT
  1. Install the required packages:
    pip install -r requirements.txt
    cd frontend/user_input_form
    npm install
  1. Set your OPENAI_API_KEY Environment Variable

  2. Run migration and start the server:

    cd llm_api
    python manage.py migrate
    python manage.py runserver
  1. Run the frontend:
    cd frontend/user_input_form
    npm start