The backend is a LlamaIndex powered Flask server and the frontend is built with ReactJs.
Main library used to index our custom data:
- LlamaIndex :- LlamaIndex (GPT Index) is a package that provides a central interface to connect your LLM’s(large language model) with external data.
You'll need git, npm, python & pip installed on your computer.
From your command line:
# Clone this repository
$ git clone https://github.com/neeleshio/JsGPT.git
# Go into the repository
$ cd JsGPT
# Install dependencies
$ npm install
# Run the frontend
$ npm start
// To run the backend server
# Go into the server folder
$ cd server
# Install dependencies
$ pip3 install -r requirements.txt
# Start the server
$ OPENAI_API_KEY=your_key python3 ./index.py
Generate an OpenAI API key.
-
Clone the repo and create a new branch: $ git checkout https://github.com/neeleshio/JsGPT.git
-
Make changes and test.
-
Submit Pull Request with decent description of changes.