/natbot

Drive a browser with GPT-3

Primary LanguagePythonMIT LicenseMIT

natbot

Drive a browser with GPT-3 or Text-Generator.io

Here's a demo: https://twitter.com/natfriedman/status/1575631194032549888

Lots of ideas for improvement:

  • Better prompt
  • Prompt chaining
  • Make a recorder to collect human feedback and do better few-shot
  • Better DOM serialization
  • Let the agent use multiple tabs and switch between them

Improvements welcome!

Running

Setup

pip install -r requirements.txt
playwright install

Run

python natbot.py