Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 705 Bytes

File metadata and controls

47 lines (35 loc) · 705 Bytes

GPT Programmer

Initial Setup

Prepare python env:

conda create --name llm-programmer
conda activate llm-programmer
pip install -r backend/requirements.txt

API credentials setup

This application uses OpenAI's GPT the OpenAI API. You'll need to configure the API credentials. To do so, create a .env file based on .env.sample.

Running

Backend:

cd backend/

# Create an empty git repo to work in
mkdir workspace
cd workspace
git init

cd ..

# Either
docker-compose up
# or
uvicorn main:app --reload

Frontend:

cd frontend/
npm ci
npm run dev

TODO

  • async support for file system tools?
  • do not include .env in Dockerfile (add to .dockerignore)