googleapis / google-cloud-dotnet

Google Cloud Client Libraries for .NET
https://cloud.google.com/dotnet/docs/reference/
Apache License 2.0
932 stars 365 forks source link

Add support for Gemini model in Vertex AI for .NET #11576

Closed vandana2015 closed 8 months ago

vandana2015 commented 8 months ago

Is your feature request related to a problem? Please describe. I want to connect to Gemini LLM model using this nuget - https://www.nuget.org/packages/Google.Cloud.AIPlatform.V1 . I tried to connect via the PredictionServiceClient. However I am not able to use it. Currently I get following message if I access ia the Predict api. - StatusCode=\"FailedPrecondition\", Detail=\"Gemini cannot be accessed through Vertex Predict/RawPredict API. Please follow https://cloud.google.com/vertex-ai/docs/generative-ai/start/quickstarts/quickstart-multimodal for Gemini usage.\"

Describe the solution you'd like I can connect via REST calls, but I would like to have access via client library sdk, like support is provided for JAVA and other languages.

vandana2015 commented 8 months ago

Hi, is there any ETA on this? Thanks.

amanda-tarafa commented 8 months ago

Thanks for your request. We are working with the Vertex API team to enable Google.Cloud.AIPlatform.V1 for Gemini models. We'll update this issue as we move along, but know that currently we have no ETA.

jskeet commented 8 months ago

Marking this as fixed, as with the new library version you should have access to the RPC you need.