Thanks to visit codestin.com
Credit goes to github.com

Skip to content

agn-7/natbot-ng

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

natbot-ng

Drive a browser with GPT-4-Turbo

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!

Setup

Set the OpenAI API key in the OPENAI_API_KEY environment variable:

export OPENAI_API_KEY="xxx"

Install the requirements with pip:

pip install -r requirements.txt

Install the browser driver:

playwright install

Run

python natbot.py

About

Drive a browser with GPT-4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%