0.1.34
版本发布时间: 2023-09-22 10:44:44
dsdanielpark/Bard-API最新发布版本:0.1.40(2024-02-25 02:47:25)
0.1.34
$ pip install bardapi==0.1.34
$ pip install -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: 7a4da93b11bbb9656b577ee1b238e39cc9422d4b
- 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.