We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5cc38 commit 61e10ceCopy full SHA for 61e10ce
tests/system/small/bigquery/test_ai.py
@@ -26,11 +26,10 @@ def test_ai_generate_bool(session):
26
s1 = bpd.Series(["apple", "bear"], session=session)
27
s2 = bpd.Series(["fruit", "tree"], session=session)
28
prompt = (s1, " is a ", s2)
29
- model_params = {"generation_config": {"thinking_config": {"thinking_budget": 0}}}
30
31
- result = bbq.ai.generate_bool(
32
- prompt, endpoint="gemini-2.5-flash", model_params=model_params
33
- ).struct.field("result")
+ result = bbq.ai.generate_bool(prompt, endpoint="gemini-2.5-flash").struct.field(
+ "result"
+ )
34
35
pandas.testing.assert_series_equal(
36
result.to_pandas(),
0 commit comments