Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit c9fec4c

Browse files
committed
fix doctest
1 parent bf7d249 commit c9fec4c

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

  • bigframes/bigquery/_operations

bigframes/bigquery/_operations/ai.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,6 @@ def generate_bool(
5959
2 False
6060
Name: result, dtype: boolean
6161
62-
>>> model_params = {
63-
... "generation_config": {
64-
... "thinking_config": {
65-
... "thinking_budget": 0
66-
... }
67-
... }
68-
... }
69-
>>> bbq.ai.generate_bool(
70-
... (df["col_1"], " is a ", df["col_2"]),
71-
... endpoint="gemini-2.5-pro",
72-
... model_params=model_params,
73-
... ).struct.field("result")
74-
0 True
75-
1 True
76-
2 False
77-
Name: result, dtype: boolean
78-
7962
Args:
8063
prompt (series.Series | List[str|series.Series] | Tuple[str|series.Series, ...]):
8164
A mixture of Series and string literals that specifies the prompt to send to the model.

0 commit comments

Comments
 (0)