You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -437,22 +431,21 @@ class GeminiTextGenerator(base.RetriableRemotePredictor):
437
431
"""Gemini text generator LLM model.
438
432
439
433
.. note::
440
-
gemini-1.5-X are going to be deprecated. Use gemini-3.5-flash (https://cloud.google.com/python/docs/reference/bigframes/latest/bigframes.ml.llm.GeminiTextGenerator) instead.
434
+
gemini-1.5-X are going to be deprecated. Use gemini-2.5-X (https://cloud.google.com/python/docs/reference/bigframes/latest/bigframes.ml.llm.GeminiTextGenerator) instead.
441
435
442
436
Args:
443
-
model_name (str, Default to "gemini-3.5-flash"):
437
+
model_name (str, Default to "gemini-2.0-flash-001"):
444
438
The model for natural language tasks. Accepted values are
If no setting is provided, "gemini-3.5-flash" will be used by
443
+
"gemini-2.5-pro", "gemini-2.5-flash" and "gemini-2.5-flash-lite".
444
+
If no setting is provided, "gemini-2.0-flash-001" will be used by
452
445
default and a warning will be issued.
453
446
454
447
.. note::
455
-
"gemini-1.5-X" is going to be deprecated. Please use gemini-3.5-flash instead.
448
+
"gemini-1.5-X" is going to be deprecated. Please use gemini-2.5-X instead. For example, "gemini-2.5-flash".
456
449
"gemini-2.0-flash-exp", "gemini-1.5-pro-preview-0514" and "gemini-1.5-flash-preview-0514" is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the
457
450
Service Specific Terms(https://cloud.google.com/terms/service-terms#1). Pre-GA products and features are available "as is"
458
451
and might have limited support. For more information, see the launch stage descriptions
>>> df.semantics.map("What is the food made from {ingredient_1} and {ingredient_2}? One word only.", output_column="food", model=model) # doctest: +SKIP
0 commit comments