wong2 / chatgpt-google-extension

This project is deprecated. Check my new project ChatHub:
https://github.com/chathub-dev/chathub
GNU General Public License v3.0
13.26k stars 1.49k forks source link

Feed the results from google as context to the question. #57

Open bobymicroby opened 1 year ago

bobymicroby commented 1 year ago

What do you think about feeding the top google results as context to the question in order to improve the answer. This can be configurable option.

You can use the following prompt:

I have the following Google search query: "NixOS power management suspend." Below are the results that Google returned. Can you answer the query using the search results as context, but expand and elaborate on it based on your learning? Let's think step by step.

Google Results:

Power Management - NixOS Wikihttps://nixos.wiki › wiki › Power_Management Suspend hooks. NixOS provides the powerManagement.resumeCommands option which defines commands that are added to a global script that will be executed after ...

nixpkgs/power-management.nix at master · NixOS ... - GitHubhttps://github.com › master › nixos › modules › config nixpkgs/nixos/modules/config/power-management.nix ... enable power management. This includes support. for suspend-to-RAM and powersave features on laptops.


Bellow is the answer with results used as context:

image

And the answer without context:

image

wong2 commented 1 year ago

That's a really nice idea

0xdevalias commented 1 year ago

That's basically what the 'ChatGPT Advanced' extension does with it's 'Search on the web' mode:

wong2 commented 1 year ago

@0xdevalias Awesome example!

canny[bot] commented 1 year ago

This issue has been linked to a Canny post: Feed the results from google as context to the question :tada: