Let GPT-3 answer questions using Google for you
What is this?
Use GPT-3 to answer questions using Google for you. This is a simple script that uses the OpenAI API to generate a question and then uses Google to answer it. It's a fun way to play with GPT-3 and see what it can do.
How to use
- Create an OpenAI API key and save it your environment variables as
OPENAI_API_KEY
- See.env.example
for an example. - Run
pip install -r requirements.txt
to install the dependencies. - Run
python main.py
to run the script. - Write your question and keep pressing enter to see GPT-3 making steps to answer it.
Examples
In the /examples folder you can find examples of how to build on top of this script - feel free to add your own:
- Qualify new sign ups - Use GPT-3 to qualify new sign ups for your product and receive a Slack notification with a summary of the results. This is a great way of extracting use
Update this is now a feature as part of June.so - check it out!
Credits
This script is almost entirely based on this. Just focused on answering questions using Google and with easier to install dependencies.