Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

0.1.34

Compare
Choose a tag to compare
@dsdanielpark dsdanielpark released this 22 Sep 02:44
· 231 commits to main since this release

0.1.34

$ pip install bardapi==0.1.34
$ pip install -q -U bardapi

It may not work as it is only available for certain accounts, regions, and other restrictions.
Google's policy change has led to an increased need for multiple cookie values from users. Some code streamlining is required.

  • Contributor: dsdanielpark, aaj-md
  • PR index: None
  • Issue index: #186
  • Build Git Hash: 7a4da93
    • We have applied the revamped input text structures as Google Bard have been just updated.
    • While we kept some parts of the structuring for existing contributors a bit messy, we refactored core.py, core_async.py, and core_cookies.py (which mostly inherits from core.py) to enhance readability.
    • The main refactoring includes separating the structuring part into utils.py and isolating some variables into constant.py, improving code maintainability.
    • This decision was made more from a code maintenance perspective than a comprehensive understanding of the overall flow of many users' code, and we anticipate that Google Palm API will officially provide the API to many users for free in the future.