-
Notifications
You must be signed in to change notification settings - Fork 52
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 AI (Gemini API) Provider for the Title Generation, Excerpt Generation and Content resizing. #700
Conversation
@iamdharmesh Left a few minor comments here but overall this looks really good. That said, I've not been able to test this out fully as I can't figure out how to get an API key. If I go to https://ai.google.dev/ and log in, I see a button that says It seems that Gemini is only available in an Early Access app which has to be turned on at the account level (and I couldn't figure out how to do that). Are there steps I'm missing here and are there additional details we need in the README on how to get this set up (and maybe calling out it's early access)? |
Description of the Change
PR adds Google AI (Gemini API) provider for the Title Generation, Excerpt Generation, and Content resizing features.
Google provides AI services in multiple ways. Some of those are:
We are using the first option here(Gemini API). Gemini API (Google AI Studio) a tool to prototype and launch apps quickly with an API key. While Google Cloud Vertex AI is a fully-managed AI platform. Vertex AI allows customization of Gemini with full data control and benefits from additional Google Cloud features for enterprise security, safety, privacy, and data governance and compliance.
You can find more detailed information on difference between both here
We are using Gemini Pro (
models/gemini-pro
) model here.Notes for reviewer:
gemini-pro
model does not provide a way to get multiple variations as of now (accepts only 1 for thecandidateCount
config param). Palm API provides multiple variations in response like ChatGPT do.How to test the Change
Title Generation.
Google AI (Gemini API)
in the provider field.Excerpt Generation.
Google AI (Gemini API)
in the provider field.Content Resizing.
Google AI (Gemini API)
in the provider field.Changelog Entry
Credits
Props @dkotter @iamdharmesh
Checklist: