Open 0wwafa opened 3 months ago
Please follow the issue template to update title and description of your issue.
Also, please add:
HARM_CATEGORY_CIVIC_INTEGRITY
Bot detected the issue body's language is not English, translate it automatically.
Also, please add:
HARM_CATEGORY_CIVIC_INTEGRITY
Bot detected the issue body's language is not English, translate it automatically.
Also, please add:
HARM_CATEGORY_CIVIC_INTEGRITY
by the way, where, in settings do I set the harm category?
also: in the fetch request use:
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Cache-Control': 'no-store',
'x-goog-api-key': apiKey
},
and remove key= from the query.
Instead of having them fixed, get them dynamycally:
This returns the latest pro-exp model AND the full list of models.
["gemini-1.5-pro-exp-0827",["chat-bison-001","text-bison-001","embedding-gecko-001","gemini-1.0-pro-latest","gemini-1.0-pro","gemini-pro","gemini-1.0-pro-001","gemini-1.0-pro-vision-latest","gemini-pro-vision","gemini-1.5-pro-latest","gemini-1.5-pro-001","gemini-1.5-pro","gemini-1.5-pro-exp-0801","gemini-1.5-pro-exp-0827","gemini-1.5-flash-latest","gemini-1.5-flash-001","gemini-1.5-flash-001-tuning","gemini-1.5-flash","gemini-1.5-flash-exp-0827","gemini-1.5-flash-8b-exp-0827","embedding-001","text-embedding-004","aqa"]]