-
According to google docs here https://ai.google.dev/docs/gemini_api_overview#json
We can instruct Gemini to return `json` by adding `"response_mime_type": "application/json"` to `generationConfig`
…
-
### Description
Hi there,
I'm trying to implement context caching with the Gemini models, but it keeps returning an error saying:
> CachedContent can not be used with GenerateContent request s…
-
## Expected Behavior
after receiving that error,
```
{
candidates: [ { finishReason: 'RECITATION', index: 0 } ],
text: [Function (anonymous)],
functionCall: [Function (anonymous)],
f…
-
chat with an AI. I've never worked with AI before in my life, so this would be a good challenge for me to link one up.
-
### Description of the bug:
This exact code:
``` python
text = "čku“ s hodnotami ANO a NE + „"
model = genai.GenerativeModel("gemini-1.5-flash")
result = model.generate_content(
f"Can…
-
https://github.com/DustinWin/ruleset_geodata
⑰ geosite,ai,🤖 人工智能 源采用 [blackmatrix7/ios_rule_script/OpenAI](https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Clash/OpenAI)、[blackmatri…
-
### Description of the bug:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D: \ Python environment \ Project \ Gemini API…
-
Hi, is there any possibility of supporting function calling (beta)? For example, my use case is to add web search capability to the AI.
Some relevant docs & examples:
https://ai.google.dev/gemini…
-
Google's AI crawler is `Google-Extended`
> Google-Extended is a standalone product token that web publishers can use to manage whether their sites help improve Gemini Apps and Vertex AI generative …
-
[ 実験登録ボタン ] -> [ 実験登録ページに遷移 ]
入力方法:
文字入力: 実験の目的、手順、注意事項を手入力で記述
写真・PDFの読み込み: OCRで実験テキストを自動抽出
OCR内容はユーザーが編集可能
[ OCRデータを整えたら、Gemini APIに送信 ]
プロンプト内容:…