dsdanielpark / Bard-API

The unofficial python package that returns response of Google Bard through cookie value.

Home Page:https://pypi.org/project/bardapi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bard is now upgraded to Gemini Pro in English, and extensions in Bard is now available. So how can I use it in this API?

eienmojiki206 opened this issue · comments

#243
I have updated the README with a different version of the content.

In short, if you make requests in English using bardapi, you will typically receive responses from the Gemini model. However, it's important to note that responses might also come from other models, not exclusively Gemini.

It varies depending on the situation. Factors like location, language, and the status of your Google account,, can affect it. Check FAQ.

What is Gemini?

Gemini is a highly advanced and multimodal AI model developed by Google DeepMind. It's designed to understand, operate across, and combine different types of information, including text, code, audio, images, and video. This capability makes Gemini a significant step forward in AI, aiming to function more like an intuitive and useful assistant rather than just a piece of smart software. The development of Gemini reflects Google DeepMind's long-standing goal of creating AI models that are inspired by human ways of understanding and interacting with the world, harnessing AI to benefit humanity responsibly.

Access to Gemini Pro in Bard: Available Only in English and Inconsistently Accessible via Bard API

The current BardAPI is a simple REST API format that allows receiving the same responses as the Bard Web UI. Therefore, if you can receive answers from Gemini Pro on the web UI, BardAPI can also return answers from Gemini similarly.

  • However, this is not an official Bard API, and currently, there are no official gemini early access or waiting lists, as we have conducted beta testing with a few reliable experts.
  • Using the Bard API could be an indirect way to access Gemini Pro responses sometimes given by Bard, but it doesn't seem to consistently provide only Gemini Pro's answers yet.
  • There is Google's official PaLM2 API, but it also does not provide identical responses to Bard (in some aspects, Bard is superior).
  • Currently, responses from Gemini and previous versions of models are being provided simultaneously.
  • There is some support for extensions of BardAPI, but they do not function perfectly.
  • It may operate differently based on region, account, etc., and separate handling is necessary for using proxies, etc.
  • Please read the FAQ.

For more details, refer to Gemini's official documentation.
Gmini Introduction: https://deepmind.google/technologies/gemini/#introduction
Related links:

As others may also be curious, I will keep this issue open until January.

However, as the situation is constantly changing, the content of this response may vary. In case of any changes, I will update the README, so I would sincerely appreciate it if you could thoroughly read the README.

Please check otu #262