@@ -1888,7 +1888,6 @@ def struct_op_impl(
18881888def ai_generate (
18891889 * values : ibis_types .Value , op : ops .AIGenerate
18901890) -> ibis_types .StructValue :
1891-
18921891 return ai_ops .AIGenerate (
18931892 _construct_prompt (values , op .prompt_context ), # type: ignore
18941893 op .connection_id , # type: ignore
@@ -1903,7 +1902,6 @@ def ai_generate(
19031902def ai_generate_bool (
19041903 * values : ibis_types .Value , op : ops .AIGenerateBool
19051904) -> ibis_types .StructValue :
1906-
19071905 return ai_ops .AIGenerateBool (
19081906 _construct_prompt (values , op .prompt_context ), # type: ignore
19091907 op .connection_id , # type: ignore
@@ -1917,7 +1915,6 @@ def ai_generate_bool(
19171915def ai_generate_int (
19181916 * values : ibis_types .Value , op : ops .AIGenerateInt
19191917) -> ibis_types .StructValue :
1920-
19211918 return ai_ops .AIGenerateInt (
19221919 _construct_prompt (values , op .prompt_context ), # type: ignore
19231920 op .connection_id , # type: ignore
@@ -1931,7 +1928,6 @@ def ai_generate_int(
19311928def ai_generate_double (
19321929 * values : ibis_types .Value , op : ops .AIGenerateDouble
19331930) -> ibis_types .StructValue :
1934-
19351931 return ai_ops .AIGenerateDouble (
19361932 _construct_prompt (values , op .prompt_context ), # type: ignore
19371933 op .connection_id , # type: ignore
@@ -1943,7 +1939,6 @@ def ai_generate_double(
19431939
19441940@scalar_op_compiler .register_nary_op (ops .AIIf , pass_op = True )
19451941def ai_if (* values : ibis_types .Value , op : ops .AIIf ) -> ibis_types .StructValue :
1946-
19471942 return ai_ops .AIIf (
19481943 _construct_prompt (values , op .prompt_context ), # type: ignore
19491944 op .connection_id , # type: ignore
@@ -1954,7 +1949,6 @@ def ai_if(*values: ibis_types.Value, op: ops.AIIf) -> ibis_types.StructValue:
19541949def ai_classify (
19551950 * values : ibis_types .Value , op : ops .AIClassify
19561951) -> ibis_types .StructValue :
1957-
19581952 return ai_ops .AIClassify (
19591953 _construct_prompt (values , op .prompt_context ), # type: ignore
19601954 op .categories , # type: ignore
@@ -1964,7 +1958,6 @@ def ai_classify(
19641958
19651959@scalar_op_compiler .register_nary_op (ops .AIScore , pass_op = True )
19661960def ai_score (* values : ibis_types .Value , op : ops .AIScore ) -> ibis_types .StructValue :
1967-
19681961 return ai_ops .AIScore (
19691962 _construct_prompt (values , op .prompt_context ), # type: ignore
19701963 op .connection_id , # type: ignore
0 commit comments