We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a20eaf commit edee23bCopy full SHA for edee23b
genai/snippets/src/main/java/genai/live/LiveStructuredOutputWithTxt.java
@@ -78,7 +78,7 @@ public static Optional<CalendarEvent> generateContent(
78
.completions()
79
.create(
80
ChatCompletionCreateParams.builder()
81
- .model("google/gemini-2.0-flash-001")
+ .model("google/gemini-2.5-flash")
82
.addSystemMessage("Extract the event information.")
83
.addUserMessage("Alice and Bob are going to a science fair on Friday.")
84
.responseFormat(CalendarEvent.class)
0 commit comments