It’s undeniable that Google introduced Gemini after ChatGPT had been around for quite some time, causing the AI/LLM market to shift towards OpenAI. Apps utilizing LLM tend to be designed to support models from the OpenAI side, utilizing the OpenAI Library (both official and unofficial) for the most part.
Recently, Google announced its integration with Gemini through the OpenAI Library, reducing the code burden. The code can still access the OpenAI Library as usual, but the model part is now referred to as Gemini, simplifying code changes to just a few lines.
Furthermore, Google has released the REST API for using Gemini, providing details on how to call and pass various values through the Gemini API.
Source: Google Gemini API, Google Developers
TLDR: Google has integrated Gemini with the OpenAI Library, making it easier to access and use the model with just a few code lines.
Leave a Comment