Tracardi / tracardi

TRACARDI is a new HOME for your customer data. TRACARDI is an Composable API-first solution for any company that need inexpensive CDP to intergrate with.
https://www.tracardi.com
Other
500 stars 92 forks source link

Plugin for Google Bard AI #813

Open atompie opened 1 year ago

atompie commented 1 year ago

Is your feature request related to a problem? Please describe. New plugin for https://bard.google.com/

Describe the solution you'd like Standard plugin

Funding

Fund with Polar

patromi commented 1 year ago

I looked around about bard api and I found 2 way how to resolve this task. @atompie

  1. Create python framework/use existing (like Bard-API https://github.com/dsdanielpark/Bard-API). An advantage of this solution is that users do not have to pay for chat with beta (until bard is still free). However, there are disadvantages associated with this solution. One major drawback is its reliance on a method to cookie stealing. In other words, users must manually extract their security code from cookies and paste it into a program (specifically, the "__Secure-1PSID" cookie). In my opinion is not compact solution because this approach introduces security vulnerabilities and can negatively impact user experience due to the need to search the site code.

  2. Use Google Cloud API I came across tutorials that discuss a method involving Bard and the Google Cloud API. With the intention of trying out this functionality, I went ahead and created a new account. However, as I followed the instructions step by step, I encountered an issue when trying to select the Bard API from the list of services. Strangely, the Bard API didn't appear as an option for me (see an attachment). I found information about beta and whitelist on google forum (https://www.googlecloudcommunity.com/gc/AI-ML/Google-Bard-API/m-p/538517). With great certainty (but I am not 100% sure ) that this option will appear at the time of admission to the whitelist, that why I have sent a ticket as Tracardi and am waiting for a decision. Zrzut ekranu 2023-08-30 002133

atompie commented 1 year ago

@patromi Go for option 2 and Use Google Cloud API.