SearchGPT: Connecting ChatGPT with the Internet logo

SearchGPT: Connecting ChatGPT with the Internet

Free

Connecting ChatGPT with the Internet

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About SearchGPT: Connecting ChatGPT with the Internet

SearchGPT is an open-source CLI tool that bridges ChatGPT with real-time internet search capabilities. It allows users to ask questions beyond ChatGPT's training cutoff (2021) by automatically querying Google Search, retrieving results, and feeding them into the GPT-3.5-turbo model to generate informed responses. The tool serves as a proof-of-concept, demonstrating how to combine a search engine API with a large language model. It requires API keys for OpenAI and Google Search, and runs via npx or npm global install.

Key Features

Integrates ChatGPT with Google Search for real-time information
Command-line interface for quick queries
Uses GPT-3.5-turbo model for response generation
Open-source under MIT license
Easy setup via npm or npx
Proof of concept for combining LLMs with search APIs

Pros & Cons

Pros
  • Free and open-source
  • Simple CLI usage with minimal setup
  • Leverages powerful GPT-3.5-turbo model
  • Enables real-time web queries from ChatGPT
  • MIT license allows modification and reuse
Cons
  • Proof of concept, not production-ready
  • Only uses Google Search (other sources like Twitter not implemented)
  • Does not include conversation history across queries (token limit)
  • Requires separate API keys for OpenAI and Google Search
  • Limited to text-based CLI interface

Best For

Getting answers about current events beyond ChatGPT's training dataPrototyping and experimenting with LLM + search workflowsSupplementing ChatGPT with up-to-date web informationEducational demonstration of connecting APIs to a language model

FAQ

What is SearchGPT?
SearchGPT is an open-source CLI tool that connects ChatGPT to the internet by crawling Google Search and feeding results into the GPT-3.5-turbo model.
How do I use SearchGPT?
Set environment variables for your OpenAI API key, Google Search API key, and Google Search ID, then run 'npx search-gpt' or install globally and run 'searchgpt'.
Does SearchGPT require API keys?
Yes, you need your own OpenAI API key, Google Search API key, and a Programmable Search Engine ID.
Is SearchGPT production-ready?
No, it is a proof of concept and not a proper implementation. It is intended for experimentation.