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: Support Google's alternative package for Gemini #1026

Open
1 task done
nirga opened this issue May 13, 2024 · 5 comments
Open
1 task done

🚀 Feature: Support Google's alternative package for Gemini #1026

nirga opened this issue May 13, 2024 · 5 comments
Labels
help wanted Extra attention is needed new instrumentation

Comments

@nirga
Copy link
Member

nirga commented May 13, 2024

Which component is this feature for?

All Packages

🔖 Feature description

Add support for google-generativeai - another package that Google provides for connecting to Gemini models.
This should be pretty similar to our current support in VertexAI

🎤 Why is this feature needed ?

Completion of OpenLLMetry support in LLM providers.

✌️ How do you aim to achieve this?

  1. Write a new sample app that uses google-generativeai to call Gemini
  2. Copy-paste the vertex AI instrumentation
  3. Change method / classes name according to how they're named in google-generativeai
  4. Add Tests

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@MarkWinter21
Copy link

I'm happy to take a look at this. Could you send on any supporting info you might think relevant to help me get started? Thanks

@nirga
Copy link
Member Author

nirga commented May 13, 2024

@MarkWinter21 I think this is a good place to start:
https://ai.google.dev/gemini-api/docs/quickstart

@MarkWinter21
Copy link

Hi, I just did some research and realised as I'm based in Europe a region where the Gemini API is not available that I'd have to go via Vertex AI. Do you think that will be a problem?

@nirga
Copy link
Member Author

nirga commented May 13, 2024

@MarkWinter21 huh... yeah actually. How about this one - we need to figure out what it takes to update weaviate to 4.6.0

@Josecespedesant
Copy link
Contributor

Hello! I will give it a try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new instrumentation
Projects
None yet
Development

No branches or pull requests

3 participants