Git Product home page Git Product logo

chatgptcontrol's Introduction

ChatGPT browses the internet

Usage

You need two things: chromedriver and an environment variable called OPENAI_API_KEY containing, fittingly enough, your OpenAI API key.

Remarks

Sometimes ChatGPT gets confused and gets stuck trying to do things that it can't. This might be because it thinks it's on a different page than it really is, because it's convinced itself that a nonexistant element is real, or it just can't get itself to write functioning code.

Also, while I've done my best to force it to have a timeout on any driver.wait() calls, there's no guarantee with this thing -_-. This matters because sometimes it'll wait for a condition that will never be true. A good rule of thumb is that if you end up waiting for something for more than 10 seconds, you need to shut the thing down.

For the love of god keep an eye on this thing. While ChatGPT's current abilities are limited, we still can't know what it might try to do, and it will always be best to err on the side of caution. If you run this without the approval step so help me God I will send out for you.

The script will never stop due to an error. For it to end, you will need to do ctrl+c in the terminal. I believe it has protection to ensure the thread doesn't get longer than the API will accept, but I don't have a convenient way to test to make sure. So, if you get a really long thread and end up with a 400 error, make an issue! I'll look into fixing it.

chatgptcontrol's People

Contributors

justdeeevin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.