Can I connect with the Gemini API? Is there a connector for Gemini?

Can I connect with the Gemini API? Is there a Node.js connector for Gemini?

1 Like

You can use any gen ai llm that is compatible with OpenAIs API structure.

As per this link this applies for Gemini models:

You can use OpenAI Authenticator and pass Gemini Base URL - from examples in the docs I found this one:

https://generativelanguage.googleapis.com/v1beta/

In your chat model connector you then need to pass the model name - e.g.:

gemini-1.5-flash
2 Likes

Thanks Martin
I’ll try

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.