Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google Gemini 1.5 Pro and Gemini Flash #1728

Closed
meetpateltech opened this issue May 18, 2024 · 6 comments
Closed

Add Google Gemini 1.5 Pro and Gemini Flash #1728

meetpateltech opened this issue May 18, 2024 · 6 comments

Comments

@meetpateltech
Copy link
Contributor

Gemini 1.5 Flash is available in public preview with a 1 million token context window in Google AI Studio and Vertex AI.

more detailed information available here:
https://deepmind.google/technologies/gemini/flash/
https://deepmind.google/technologies/gemini/pro/

@presleygermano
Copy link

Could someone tell me how I can configure Gemini 1.5 in chatbot-ui?

@meetpateltech
Copy link
Contributor Author

You need to modify these files to add Gemini 1.5 in this chatbot-ui:

  1. types/llms.ts
  2. lib/models/llm/google-llm-list.ts
  3. lib/chat-setting-limits.ts
  4. app/api/chat/google/route.ts

@faraday
Copy link
Contributor

faraday commented Jun 3, 2024

Done here: #1772

This issue can be closed.

@meetpateltech
Copy link
Contributor Author

Yes, but you added 'Gemini 1.5 Pro' as 'Gemini Flash'. (There is a separate 'Gemini 1.5 Flash' model.)

I have fixed this in #1778

@faraday
Copy link
Contributor

faraday commented Jun 7, 2024

@meetpateltech Ah yes, I was using Flash initially. I must have forgot to re-add it the definition back in.
Thanks for fixing.

@meetpateltech
Copy link
Contributor Author

@faraday Thank you! Closing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants