instructor_ex icon indicating copy to clipboard operation
instructor_ex copied to clipboard

Google Gemini support

Open samrat opened this issue 2 years ago • 2 comments

Hello!

Is anyone working on adding Gemini support already?

  • API documentation: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini
  • Gemini 1.5 Pro seems to have support for function calling.
  • There seems to be two different ways of calling the API? https://github.com/jxnl/instructor/issues/441#issuecomment-1951435515

samrat avatar Apr 11 '24 08:04 samrat

Yes, please! With the latest model Gemini Advanced, it rivals and sometimes surpasses GPT-4 (at least to my subjective taste). It's become my go-to LLM for daily use, especially given it can access the internet, read PDFs, watch videos, etc. I would definitely pick it over GPT stuff (even though they're great, and a close second)

M-Gonzalo avatar May 11 '24 14:05 M-Gonzalo

This would be awesome with the wildly generous free tier

ice-cap0 avatar Jun 15 '24 20:06 ice-cap0

Closing this as Thomas added Gemini support in https://github.com/thmsmlr/instructor_ex/pull/74

samrat avatar Nov 12 '24 15:11 samrat