@@ -57,7 +57,7 @@ def agg(
57
57
>>> bpd.options.compute.semantic_ops_confirmation_threshold = 25
58
58
59
59
>>> import bigframes.ml.llm as llm
60
- >>> model = llm.GeminiTextGenerator(model_name="gemini-1.5 -flash-001")
60
+ >>> model = llm.GeminiTextGenerator(model_name="gemini-2.0 -flash-001")
61
61
62
62
>>> df = bpd.DataFrame(
63
63
... {
@@ -326,7 +326,7 @@ def filter(self, instruction: str, model, ground_with_google_search: bool = Fals
326
326
>>> bpd.options.compute.semantic_ops_confirmation_threshold = 25
327
327
328
328
>>> import bigframes.ml.llm as llm
329
- >>> model = llm.GeminiTextGenerator(model_name="gemini-1.5 -flash-001")
329
+ >>> model = llm.GeminiTextGenerator(model_name="gemini-2.0 -flash-001")
330
330
331
331
>>> df = bpd.DataFrame({"country": ["USA", "Germany"], "city": ["Seattle", "Berlin"]})
332
332
>>> df.semantics.filter("{city} is the capital of {country}", model)
@@ -440,7 +440,7 @@ def map(
440
440
>>> bpd.options.compute.semantic_ops_confirmation_threshold = 25
441
441
442
442
>>> import bigframes.ml.llm as llm
443
- >>> model = llm.GeminiTextGenerator(model_name="gemini-1.5 -flash-001")
443
+ >>> model = llm.GeminiTextGenerator(model_name="gemini-2.0 -flash-001")
444
444
445
445
>>> df = bpd.DataFrame({"ingredient_1": ["Burger Bun", "Soy Bean"], "ingredient_2": ["Beef Patty", "Bittern"]})
446
446
>>> df.semantics.map("What is the food made from {ingredient_1} and {ingredient_2}? One word only.", output_column="food", model=model)
@@ -563,7 +563,7 @@ def join(
563
563
>>> bpd.options.compute.semantic_ops_confirmation_threshold = 25
564
564
565
565
>>> import bigframes.ml.llm as llm
566
- >>> model = llm.GeminiTextGenerator(model_name="gemini-1.5 -flash-001")
566
+ >>> model = llm.GeminiTextGenerator(model_name="gemini-2.0 -flash-001")
567
567
568
568
>>> cities = bpd.DataFrame({'city': ['Seattle', 'Ottawa', 'Berlin', 'Shanghai', 'New Delhi']})
569
569
>>> continents = bpd.DataFrame({'continent': ['North America', 'Africa', 'Asia']})
@@ -805,7 +805,7 @@ def top_k(
805
805
>>> bpd.options.compute.semantic_ops_confirmation_threshold = 25
806
806
807
807
>>> import bigframes.ml.llm as llm
808
- >>> model = llm.GeminiTextGenerator(model_name="gemini-1.5 -flash-001")
808
+ >>> model = llm.GeminiTextGenerator(model_name="gemini-2.0 -flash-001")
809
809
810
810
>>> df = bpd.DataFrame(
811
811
... {
0 commit comments