This is a vs code extension for Google Bard(beta).
Google has not provided any open APIs for Bard, this extension is solely for entertainment and learning purposes.
-
Chat with Google bard(beta) in vscode
-
Multiple answers for one question
vscode-bard.cookies
: Your Google Bard cookies.
-
Go to https://bard.google.com and login.
-
Open developer tools and go to
Application
tab. -
Click on
Cookies
and thenhttps://bard.google.com
. -
Search for
__Secure-1PSID
and copy the value. -
Paste the value
__Secure-1PSID={WHAT YOU COPIED}
in the extension settingsvscode-bard.cookies
. -
OR use shot cut
ctrl+shift+B
and paste the value.
-
Go to https://bard.google.com and login.
-
Open developer tools and go to network tab.
-
Click on any request of the host
bard.google.com
and copy the value ofCookie
header. -
Paste the value in the extension settings
vscode-bard.cookies
. -
OR use shot cut
ctrl+shift+B
and paste the value.
Note:
Remember to close the opened bard webpage after getting the cookie.
Due to Google's security policy, different regions may require different cookies. You can try setting all cookies starting with __Secure-1, or copy the entire cookie value as in Solution 2.
Enjoy!