dsdanielpark / Bard-API

The unofficial python package that returns response of Google Bard through cookie value.
https://pypi.org/project/bardapi/
MIT License
5.33k stars 529 forks source link

every question is a new chat #234

Closed matiasstornini closed 10 months ago

matiasstornini commented 10 months ago

Note that each question generates a new chat and what I want to use it for I need to give context to bard, is there a way to solve this?

dsdanielpark commented 10 months ago

Currently, Bard does not offer a parameter equivalent to fixing the seed in GPT, making it impossible. While one could attempt to some extent with features like Reusable Session Object and Fix Conversation, even combining these two wouldn't achieve the desired outcome, as it might be challenging to access such parameters at the internal model level.

However, using Reusable Session can enhance speed since it eliminates the need to set up a session object every time, making it faster and therefore highly recommended for use.