We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7fbfff commit cd88aecCopy full SHA for cd88aec
1 file changed
‎main.py‎
@@ -62,9 +62,9 @@
62
parser = WebhookParser(channel_secret)
63
64
# Using a single, powerful multimodal model for both text and images.
65
-# gemini-1.5-flash-001 is a powerful, cost-effective model for multimodal tasks.
+# gemini-2.0-flash is a powerful, cost-effective model for multimodal tasks.
66
model = ChatVertexAI(
67
- model_name="gemini-1.5-flash-001",
+ model_name="gemini-2.0-flash-lite",
68
project=google_project_id,
69
location=google_location,
70
max_output_tokens=2048 # Increased token limit for detailed image descriptions
@@ -198,4 +198,4 @@ def generate_image_description(image_uri):
198
)
199
200
response = model.invoke([message])
201
- return response.content
+ return response.content
0 commit comments