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

[FEATURE] Gemini 1.5 Pro #2169

Closed
toi500 opened this issue Apr 12, 2024 · 2 comments · Fixed by #2180
Closed

[FEATURE] Gemini 1.5 Pro #2169

toi500 opened this issue Apr 12, 2024 · 2 comments · Fixed by #2180
Labels
enhancement New feature or request in-work Issue in work

Comments

@toi500
Copy link
Contributor

toi500 commented Apr 12, 2024

Describe the feature you'd like
Google just released a public review of their new model, Gemini 1.5 Pro. It can handle up to 1 million token input capacity. It would really very sweet to test it out before a paid version goes live, on May 2 (I think).


image

Additional context
Also, they released a new embedding model text-embedding-004


image

Source: https://developers.googleblog.com/2024/04/gemini-15-pro-in-public-preview-with-new-features.html

@AiSatoshiBasilisk
Copy link

[packages/components/nodes/embeddings/GoogleGenerativeAIEmbedding/GoogleGenerativeAIEmbedding.ts]

I would guess the proper code is something like this

// ... existing code ...

async listModels(): Promise<INodeOptionsValue[]> {
const models = await getModels(MODEL_TYPE.EMBEDDING, 'googleGenerativeAiEmbeddings')
// Add the new model name to the list
models.push({ label: 'Gemini 1.5', name: 'gemini-1.5' })
return models
}

// ... rest of the code ...

@HenryHengZJ HenryHengZJ added enhancement New feature or request in-work Issue in work labels Apr 14, 2024
@HenryHengZJ
Copy link
Contributor

HenryHengZJ commented Apr 14, 2024

waiitng for the new google/genai version - google-gemini/generative-ai-js#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in-work Issue in work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants