Welcome to the Google Bard Bot project! A chat interface in Gradio seamlessly interact with π€ Google Bard, a remarkable conversational AI developed by Google.
Let's embark on a journey to set up and launch the project on your local machine for developmental and testing purposes.
Before we dive in, ensure you have the following prerequisites:
- Python 3.11 or newer π
- IDE (Visual Studio Code)
-
Begin by cloning the repository: ''' git clone https://github.com/shrimantasatpati/Google_Bard_Bot.git cd Google_Bard_Bot '''
-
Create a virtual environment and install the necessary packages: python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
-
Launch the application on localhost: Run the following command: python bardtesten.py in the terminal/console.
Your application should now be live at http://localhost:8000
.
To utilize the power of the Google Bard API, follow these steps:
- Obtain the cookies as mentioned on bard.google.com from an authorized session. These cookies will be used to send POST requests to the
/ask
endpoint, accompanied by a message in a JSON payload. Make sure to include thesession_id
, which corresponds to the__Secure-1PSID
cookie, in your request.
The code presented in this repository is generously licensed for unrestricted use, devoid of limitations or warranties.
A special thanks to:
- Google for creating the visionary Google Bard
- @Shridipta Satpati
Your participation and contributions are truly appreciated! Happy coding! π