Bard API for integrating GEN AI into applications.
-
To use Vertex Api, follow the link and run the bard1.py
-
To use Bard API for free, create a .env and login to Bard
-
Find the API key in the cookies by searching in Application (Console)
BARD_API_KEY=<Secure-1PSID>.
-
Add the API key and run bard2.py
-
Now you are good to go
-
Searching data from JSON files using prompts, run searchDataUsingPrompts.py
- Provide a JSON file, that will be divided into N chunks of JSON so that the Bard API can efficiently process the results
-
Flask-Bard API to integrate into a web app
- Response returned