Closed anniedoris closed 4 months ago
It looks like there was a slight mistake in the model name you used. The correct model name for Gemini Ultra should be "models/gemini-ultra"
, not "models/gemini-ultra-vision"
. Here's how you should initialize the Gemini model:
gemini_pro = GeminiMultiModal(model_name="models/gemini-ultra")
This adjustment should resolve the NotFound
error you encountered. For further details, you might want to check the documentation or the source code of the LlamaIndex repository to ensure you're using the latest supported models and features.
To continue the conversation, mention @dosu.
We support it, but depends on your access and installed client version (this response is coming directly from Google 🤷🏻 )
There's an example here (if you want to leverage the multimodal capabilities, you need the multi moda llm class for now)
https://docs.llamaindex.ai/en/stable/examples/multi_modal/gemini/?h=gemini
You can also use googles api to list the models available to you
https://ai.google.dev/api/python/google/generativeai/list_models
Ah ok thanks, I guess this means I need to be paying for Gemini Advanced to access Ultra?
Maybe? Haha I'm not fully aware of how googles api and access works (just pointing to examples I was aware of 😅)
Would it be possible to get support for Gemini model gemini-1.5-pro-latest
? I believe this is different
I think once again, it's supported assuming you can access the model over the Google client
The reason I'm a bit confused is because on Gemini's website, there is a list of their current models. I see that models/gemini-pro-vision
is one of their current models, and this is one that is supported by Llamaindex. However, the other model supported by Llamaindex models/gemini-ultra-vision
is not on Gemini's current list of models. Is there a way I can access gemini-1.5-pro-latest
through llamaindex? I don't think this is the same as ultra?
Bug Description
When I try to create:
I get the following error:
Do you support Gemini Ultra?
Version
0.10.30
Steps to Reproduce
Relevant Logs/Tracbacks
No response