Skip to content

feat(bigframes): add more params to ai.classify#16990

Open
sycai wants to merge 3 commits intomainfrom
sycai_ai_classify_update
Open

feat(bigframes): add more params to ai.classify#16990
sycai wants to merge 3 commits intomainfrom
sycai_ai_classify_update

Conversation

@sycai
Copy link
Copy Markdown
Contributor

@sycai sycai commented May 7, 2026

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for examples, endpoint, optimization_mode, and max_error_ratio parameters to the classify AI operation. The implementation includes updates to the BigQuery operations layer, Ibis and SQLglot compilers, and core operation definitions. Feedback highlights the need for a null check on the examples parameter to avoid a TypeError, suggests adding validation for max_error_ratio and its compatibility with optimization_mode, and identifies an incorrect type hint in the Ibis compiler registry.

Comment thread packages/bigframes/bigframes/bigquery/_operations/ai.py
Comment thread packages/bigframes/bigframes/core/compile/ibis_compiler/scalar_op_registry.py Outdated
@sycai sycai force-pushed the sycai_ai_classify_update branch from 50da083 to 34fde7c Compare May 7, 2026 18:16
@sycai sycai added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2026
@sycai sycai requested review from TrevorBergeron and tswast May 7, 2026 23:05
@sycai sycai marked this pull request as ready for review May 7, 2026 23:05
@sycai sycai requested review from a team as code owners May 7, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants