lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Request] Support Gemini through vertex AI

Open ornell opened this issue 10 months ago • 1 comments

🥰 Feature Description

Google AI studio isn't available in all regions, making it impossible for certain places not to use gemini with lobechat. Adding a secondary implementation using vertex AI would make it possible for users using Google Cloud to add gemini anyway.

Supported regions for AI studio: https://ai.google.dev/gemini-api/docs/available-regions#available_regions

https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal#gemini-beginner-samples-nodejs

🧐 Proposed Solution

Add support for Google Gemini through Vertex AI next to the existing implementation. This should ensure that users outside of the supported regions have a secondary option.

📝 Additional Information

No response

ornell avatar Apr 21 '24 21:04 ornell

👀 @ornell

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot avatar Apr 21 '24 21:04 lobehubbot

+1, this would be great!

ppold avatar Jun 21 '24 02:06 ppold

We will implement soon. please follow here: https://github.com/lobehub/lobe-chat/discussions/1284#discussioncomment-8686696

arvinxx avatar Jun 21 '24 04:06 arvinxx