From b9f47178bdb50b2d9f3f0caf5aa05e3cb265f80f Mon Sep 17 00:00:00 2001 From: Mohamed Date: Thu, 25 Apr 2024 08:43:41 +0100 Subject: [PATCH] feat(gemini): upgrade Gemini model version The Gemini model used in the `assistant.py` file has been upgraded from `gemini-1.0-pro-vision` to `gemini-1.5-pro-preview-0409`. This change likely brings improvements or new features to the language model. --- cookbook/llms/gemini/assistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/llms/gemini/assistant.py b/cookbook/llms/gemini/assistant.py index c223f1965..c6fb3cf65 100644 --- a/cookbook/llms/gemini/assistant.py +++ b/cookbook/llms/gemini/assistant.py @@ -8,7 +8,7 @@ vertexai.init(project=getenv("PROJECT_ID"), location=getenv("LOCATION")) assistant = Assistant( - llm=Gemini(model="gemini-1.0-pro-vision"), + llm=Gemini(model="gemini-1.5-pro-preview-0409"), description="You help people with their health and fitness goals.", ) assistant.print_response("Share a quick healthy breakfast recipe.", markdown=True)