The Everything App
One App to rule them All!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
About The Project
OpenAI just released chatGPT. It can do many amazing things. But it comes with some limitation: it doesn't have access to open internet, hence it only knows what it knows; It knows how to do things but it can't actually do it for you; This explorative project aims to:
- provide an interface to interact with chatGPT programatically
- give chatgpt the ability to interact with the real world (through exisiting or imaginary App APIs, which we will build)
Built With
- ChatGPT
Getting Started
Instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Prerequisites
Things you need to use the software and how to install them.
- Python3.7 or above
- Chrome (preferably latest version)
Installation
Installing and setting up your app.
- Clone the repo
git clone https://github.com/kyleliang919/The-Everything-App.git
- Install requirements
pip install -r requirements.txt
- Setting up your app credientials in a yaml file, for example
openai:
email: YOUR_EMAIL
password: YOUR_PASSWORD
twitter:
consumer_key: YOUR_CONSUMER_KEY
consumer_secret: YOUR_CONSUMER_SECRET
access_token: YOUR_ACCESS_TOKEN
access_token_secret: YOUR_ACESS_TOKEN_SECRET
client_id: YOUR_CLIENT_ID
client_secret: YOUR_CLIENT-SECRET
gmail:
sender_email : YOUR_EMAIL
sender_password : YOUR_PASSWORD
receiver_email : RECEIVER_EMAIL
subject : YOUR_SUBJECT
body : YOUR_EMAIL_BODY
youtube:
api_key : YOUR_API_KEY
Usage
Useful examples of how a project can be used. Link to more resources, Additional screenshots, code examples and demos.
python src/main.py --yaml <path_to_yaml>
App-specific usage:
-
OpenAI: Sign up an OpenAI account, and fill in your password in the yaml.
-
Twitter: Register a client and fill in required items in the yaml.
-
Gmail: You will need to generate Google App passward for gmail, and fill it in
sender_password
in the yaml.Please refer to
Create & use App Passwords
section onhttps://support.google.com/accounts/answer/185833?hl=en
.When sending emails using ChatGPT, please use this prompt: "Write an email from xx to xx using stmi gmail package."
-
Youtube: uses Youtube Data API V3 package. You need to install
pip install google-api-python-client
and login to your google cloud consolehttps://console.cloud.google.com/projectselector2/apis/credentials?supportedpurview=project
. PressCreate Project
thencreate credential
and add a newApi_key
. Copy the generatedapi_key
to the Yaml.Then if you saw 400 error while running the code, go back to your gogole cloud console and click
Eable API Services
and look forYouTube Data API v3
in the filter, and click enable app.reference:
https://developers.google.com/youtube/registering_an_application
- useful commands : write python code to show me the most popular 10 videos on YouTube (using google app api).
Useful Commands and Prompt Templates:
Answer in python code only: with API, things you want to do
This will prompt chatgpt to generate API python callsrun it
run the code generated, it only works only if the last command generated python codeexit
quiting the chatbotRoadmap
- Basic functionality of chatgpt
- First App integrated with limited functionalities
- Basic documentations
- Supporting more apps
- Multi-language Support
- English
- Chinese
- Replace with Official API once released
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
Kaizhao Liang - @KyleLiang5 - kyleliang919@gmail.com
Project Link: https://github.com/kyleliang919/The-Everything-App
Acknowledgments
TBD