mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-03-11 17:48:31 -05:00
refactor: Update vision_rag.py to use the latest Gemini model
- Changed model from "gemini-2.5-flash-preview-04-17" to "gemini-2.5" for improved performance and stability.
This commit is contained in:
@@ -363,7 +363,7 @@ Please provide enough context for your answer.
|
||||
Question: {question}""", img]
|
||||
|
||||
response = gemini_client.models.generate_content(
|
||||
model="gemini-2.5-flash-preview-04-17",
|
||||
model="gemini-2.5-flash",
|
||||
contents=prompt
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user