ibuildthecloud / answers-from-the-internet

GPTScript tool that answers a question by searching Google and looking at web pages

Repository from Github https://github.comibuildthecloud/answers-from-the-internetRepository from Github https://github.comibuildthecloud/answers-from-the-internet

Answers from the Internet

This tool answers a question provided to it by using a browser to search Google.

Example

gptscript github.com/gptscript-ai/answers-from-the-internet '{"question":"Who was Oliver Cromwell?"}'

How it Works

flowchart TD
    A(Begin execution) --> B(Parse input)
    B --> C(Generate Google query with gpt-3.5-turbo)
    B --> D(Set up browser contexts)
    C --> E(Search Google and get page contents immediately as links are found)
    D --> E
    E --> F(Give all contents to gpt-4o to determine the answer)
Loading

About

GPTScript tool that answers a question by searching Google and looking at web pages

License:Apache License 2.0


Languages

Language:TypeScript 95.7%Language:JavaScript 4.3%