Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.53 KB

README.md

File metadata and controls

39 lines (20 loc) · 1.53 KB

Bard-API

Bard API for integrating GEN AI into applications.

  • To use Vertex Api, follow the link and run the bard1.py

MicrosoftTeams-image

  • 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)

Screenshot 2023-06-13 211809

BARD_API_KEY=<Secure-1PSID>.
  • Add the API key and run bard2.py

  • Now you are good to go

image

  • 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

image

image

  • Response returned

image