Closed suztomo closed 7 months ago
It turned out that the valid value for Gemini 1.5 is "gemini-1.5-pro-preview-0409".
After I set this value there, it started working.
Note that the reason I was able to know the working model name was because I tried Gemini 1.5, which belongs to the multimodal section, in Vertex AI Studio and its "GET CODE" button showed the model name.
[READ] Step 1: Are you in the right place?
In https://extensions.dev/extensions/googlecloud/firestore-genai-chatbot , the source code points to this repository.
(Previously in https://github.com/GoogleCloudPlatform/firebase-extensions/issues/380, the cause of 404 Not Found was the location. It was with gemini-1.0-pro. Now it seems gemini-1.5-pro generates the same error.)
[REQUIRED] Step 2: Describe your configuration
[REQUIRED] Step 3: Describe the problem
When I tried to use gemini-1.5-pro, the extension fails to generate respond. The log shows "404 Not Found"
It was working fine with gemini-1.0-pro.
Steps to reproduce:
Expected result
The extension just works to respond message using gemini-1.5-pro.
Actual result
The document is populated with the error message "An error occurred while processing the provided message, Failed to generate response, see function logs for more details."
Read the Cloud Functions log for the function. It has the 404 error of the screenshot above.
Notes
Gemini 1.5 is in preview. https://cloud.google.com/products?hl=en#product-launch-stages:
So this might not get an answer.