Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.56 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.56 KB

Twitter-Google-GPT

Overview

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.

Demo

Installation

  1. Clone the repository:
git clone https://github.com/Joseph-M-Cook/Twitter-Google-GPT.git
  1. Install the required dependencies:
pip install -r requirements.txt
  1. 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
  1. Run the script and open the Gradio interface in your browser

Disclaimer

Please use this responsibly and ensure you comply with OpenAI's, Google's, and Twitter's terms of service.

License

This project is licensed under the MIT License. See the LICENSE file for details.