Google Search Engine integration
It'd be cool if you could somehow integrate BingAI like search feature to use these models with. That way they could give you more accurate/up-to-date information etc. Useful links: https://developers.google.com/custom-search/v1/introduction https://programmablesearchengine.google.com/ It was also implemented here but using OpenAI's APIs
I stumbled on this today and I assume this would also belong in that list https://github.com/michaelthwan/searchGPT
I don't know how searchGPT does it, but I guess you could
- Query the search engine with the initial prompt
- Download the top N pages using
requests(N = 2 or 3 by default) - Summarize those N pages one by one with BART
- Concatenate the individual summaries summarize again. The goal of the two-step summarization is to obtain a more robust end result.
- Put that at the top of the prompt, followed by the original question
- Let the LLM autocomplete this augmented prompt
I'm too lazy to do it but you could do it with an extension. It would be worth it to try a few examples and check if using N > 1 makes a difference.
If this is implemented then there should be an easy way to enable/disable it for users that don't want their prompt to be sent to google, for privacy reasons. An extension would be great because that could be easily disabled/enabled and users could decide if they want that functionality or not.
This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below.
this looks interesting https://github.com/oobabooga/text-generation-webui/discussions/932#discussion-5059588