Skip to content

Commit edee23b

Browse files
authored
chore(genai): Update LiveStructuredOutputWithTxt to use gemini model v2.5-flash (#10228)
1 parent 5a20eaf commit edee23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genai/snippets/src/main/java/genai/live/LiveStructuredOutputWithTxt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static Optional<CalendarEvent> generateContent(
7878
.completions()
7979
.create(
8080
ChatCompletionCreateParams.builder()
81-
.model("google/gemini-2.0-flash-001")
81+
.model("google/gemini-2.5-flash")
8282
.addSystemMessage("Extract the event information.")
8383
.addUserMessage("Alice and Bob are going to a science fair on Friday.")
8484
.responseFormat(CalendarEvent.class)

0 commit comments

Comments
 (0)