Skip to content

aidanjrauscher/ProgrammerGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProgrammerGPT

Goal: Create an agent capable of generating and executing code. Also, store generations in a vector db and retrieve when appropraite.

Stretch: Have agent generate code to web scrape

Inspiration: Voyager

TODO:

  • Expand support to non built-in libraries
  • Store results in vectordb - probably chroma
  • Fetch results from vectordb
  • Improve script interaction - maybe an indefinite while loop?
  • Determine best embedding method
  • Determine best code generation model
  • Determine best vector distance and optimal max distance for retrieved code

Setup:

  1. Install requirements by running pip install requirements.txt
  2. Create a .env file and provide the OPENAI_API_KEY
  3. Setup Chroma with git clone [email protected]:chroma-core/chroma.git
  4. Build and start Chroma directory with docker compose --project-directory chroma/ up -d --build
  5. Describe the code you want to generate using the task variable
  6. Run main.py

About

A GPT agent capable of executing code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages