Skip to content

0.1.241

Compare
Choose a tag to compare
@pchalasani pchalasani released this 05 May 23:06
· 19 commits to main since this release

Gemini support via litellm. See docs https://langroid.github.io/langroid/tutorials/non-openai-llms/

Essentially, you need to:

  • install langroid with the litellm extra, e.g. pip install "langroid[litellm]"
  • set up your GEMINI_API_KEY in the .env file or shell env
  • specify chat_model="litellm/gemini/gemini-1.5-pro-latest"