Skip to content

Twitter-Google-GPT is an AI tool that utilizes OpenAI's GPT-4 to transform your questions into search queries for Twitter and Google, yielding concise, relevant responses from diverse sources.

License

Notifications You must be signed in to change notification settings

Joseph-M-Cook/Twitter-Google-GPT

Repository files navigation

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.

About

Twitter-Google-GPT is an AI tool that utilizes OpenAI's GPT-4 to transform your questions into search queries for Twitter and Google, yielding concise, relevant responses from diverse sources.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages