Query popular web LLMs directly in your address bar with bard/query
and cgpt/query
.
You must be logged in to the LLM web UI for this to work.
NOTE: This is a third party extension and is not associated with Google or OpenAI in any way.
You can install the manifest v3 version of this extension directly from the Chrome Webstore here.
You can install either manifest version from source:
git clone https://github.com/jbmlaird/llm-fast-query.git
- In Chrome, go to chrome://extensions/
- Click
Load Unpacked
- Navigate inside the folder where you downloaded
llm-fast-query
, open themanifest_v2
ormanifest_v3
folder, then clickSelect
- In your address bar type
bard/why is this extension so good?
orcgpt/how is Josh Laird such a legend?
. Make sure you click the URL option, not theGoogle Search
option (see gif below)
Why am I getting Google search results entering bard/
and cgpt/
rather than being redirected?
Make sure you're pressing the URL option, not the Google Search
option (see step 5 above).
Should I install Manifest v2 or v3 from source?
Manifest v2 is deprecated and will be phased out in 2023. In line with the security, privacy, and performance improvements with manifest V3, blocking web requests have been replaced with the Declarative Net Request API (see more here) which is more private.
Why include manifest v2?
I was curious how this would work in both versions. Both are included purely for academic reasons; one can see steps required to migrate.
Why is the code so bad?
This was a quick side project and I only write JavaScript when I have to 💀 PRs are welcome!
Where are the tests?
Why didn't you use the Omnibox API for a nicer user experience?
The Omnibox API allows you to directly manipulate the address bar like having Search Bard
or Search ChatGPT
on
the left:
Unfortunately, the Omnibox API only supports one keyword.
Ideally, I'd want a keyword for Bard and another keyword for ChatGPT that forwards to the relevant chat bot. However,
since only one keyword is supported, one would need to type in llmfq
(or some other keyword) then
(bard|cgpt) how many Korok seeds are in Tears of the Kingdom?
and the extension would forward depending on the first
word. The user would need to remember an additional abbreviation ☠️
You can, however, set it up like in the GIF manually by using site search shortcuts.
- Go to chrome://settings/searchEngines in Chrome
- Scroll down to Site Search and click
Add
- Enter details for both Bard & ChatGPT as per the pictures:
- Enter
bard
orcgpt
into your address bar and press tab - Query away 🚀
Will this extension work forever?
Definitely not. As soon as the websites change the JS selector for their respective text box, this will break. Feel free to create an issue or pull request if that happens.