TwitterGoogleGPT, leverages OpenAI's GPT-4 model to transform user queries into meaningful search queries for both Twitter and Google. It fetches relevant tweets using Twitter's Search API and retrieves significant data from Google's Custom Search API. This dual-source information is then processed, summarized, and presented as comprehensive responses, providing the user with rich and diverse insights in response to their queries.
- Clone the repository:
git clone https://github.com/Joseph-M-Cook/Twitter-Google-GPT.git
- Install the required dependencies:
pip install -r requirements.txt
- Set up API keys and private IDs. You need to provide your own API keys for Twitter, Google, and OpenAI.
consumer_key
consumer_secret
access_token
access_token_secret
gpt_api_key
GOOGLE_DEV_KEY
GOOGLE_CX_KEY
- Run the script and open the Gradio interface in your browser
Please use this responsibly and ensure you comply with OpenAI's, Google's, and Twitter's terms of service.
This project is licensed under the MIT License. See the LICENSE file for details.