This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hello all,In the very begining, there used to be a REST documentation of
the Gemini API here:
https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=restIt
gave the following snippet curl
https://generativelanguage.googleapis.com/v1beta/mode...
Hello,I use the Gemini REST API
(https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=rest)
but with gemini-1.5-pro-latest model, which means I query like this:curl
https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-lat...
Hi all,I use Gemini through its API on
https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContentI
sometimes get 0 candidates, with a finishReason = RECITATION.What should
be the parameters in the POST query if I dont want it ...
I also have that behaviour.I usually connect to Gemini REST API from
Madagascar, but when I temporarily travel to UK, I get the error.In 2024
and all this remote working enabled, there should not be such
restrictions: I should be allowed to connect f...
@gimaldi, I identified the problem.At the time I was trying,
"system_instruction" is only available in the "v1beta" endpoint combined
with "gemini-1.5-pro-latest" model.It was a very bleeding edge feature
that I was trying to use.For example, using "...
If I prompt Gemini via the API with this, I hit the RECITATION
issue:There is a database that can be reached at the following address:
host: localhost username: root password: root database: test Write a PHP
function that connects to that database an...