Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bobymicroby opened this issue Dec 7, 2022 · 4 comments
Open

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

bobymicroby opened this issue Dec 7, 2022 · 4 comments

Comments

@bobymicroby
Copy link

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
Copy link
Owner

wong2 commented Dec 7, 2022

That's a really nice idea

@0xdevalias
Copy link

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

@wong2
Copy link
Owner

wong2 commented Dec 22, 2022

@0xdevalias Awesome example!

@canny
Copy link

canny bot commented Dec 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants