https://github.com/gptscript-ai/answers-from-the-internet
GPTScript tool that answers a question by searching Google and looking at web pages
https://github.com/gptscript-ai/answers-from-the-internet
Last synced: 12 months ago
JSON representation
GPTScript tool that answers a question by searching Google and looking at web pages
- Host: GitHub
- URL: https://github.com/gptscript-ai/answers-from-the-internet
- Owner: gptscript-ai
- License: apache-2.0
- Created: 2024-05-20T13:39:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T19:51:55.000Z (over 1 year ago)
- Last Synced: 2025-06-28T23:42:48.752Z (12 months ago)
- Language: TypeScript
- Homepage:
- Size: 101 KB
- Stars: 7
- Watchers: 6
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Answers from the Internet
This tool answers a question provided to it by using a browser to search Google.
## Example
```bash
gptscript github.com/gptscript-ai/answers-from-the-internet '{"question":"Who was Oliver Cromwell?"}'
```
## How it Works
```mermaid
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)
```