chatgpt-google-extension icon indicating copy to clipboard operation
chatgpt-google-extension copied to clipboard

Feed the results from google as context to the question.

Open bobymicroby opened this issue 2 years ago • 4 comments

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

bobymicroby avatar Dec 07 '22 10:12 bobymicroby

That's a really nice idea

wong2 avatar Dec 07 '22 10:12 wong2

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

  • https://github.com/qunash/chatgpt-advanced
  • https://github.com/qunash/chatgpt-advanced/blob/main/script.js#L58-L103

0xdevalias avatar Dec 21 '22 21:12 0xdevalias

@0xdevalias Awesome example!

wong2 avatar Dec 22 '22 06:12 wong2

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

canny[bot] avatar Dec 22 '22 06:12 canny[bot]