0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

037 AI屋さんの LLMにトークン全文入力 GEMINI2.0 ライブラリ

Last updated at Posted at 2025-03-24

037 AI屋さんの LLMにトークン全文入力 GEMINI2.0 ライブラリ

本日はお日柄もよく、
めでたいご縁を結ばれるライブラリにおかれましては、
誠にお慶び申し上げます。

Geminiを利用する際に、ライブラリで悩む場合があります。
そもそも何で複数あるのか、気にはなっていましたが、
これを機に統合が進んでいるようです。

とある日の断面、

 google-genai
 pip install google-genai==1.7.0

 google-generativeai
 pip install google-generativeai==0.8.4

新機能や、モデルの更新も激しくバージョン管理に加え、
開発環境も複数あって、

 Googel AI Studio
 Vertex AI

何時何処誰が開発するかも、影響します。
動く環境ができたら、いじらないのが一番良いかとは思いますが、
毎回、仮想環境やdockerで独立させるのも骨が折れます。


今後のメイン(?)
 google-genai


過去のレガシー(?)
 google-generativeai


スクリーンショット 2025-03-25 8.21.55.png

スクリーンショット 2025-03-25 8.22.14.png


個人的には、google-generativeai が好みですが
廃盤とあっては致し方なしです。

しかし、Gemini2.0 発表以降の
アップデートが激しくて、皆様方への感謝の念を禁じ得ません。

スクリーンショット 2025-03-25 8.31.55.png


目次

関係各位の益々のご発展を祈念いたしまして
 ヨウ、パン、
ありがとうございます。

ー以上ー

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?