Skip to content

feat(bigframes): update ai.score to match its SQL version#16919

Open
sycai wants to merge 3 commits intomainfrom
sycai_ai_score_update
Open

feat(bigframes): update ai.score to match its SQL version#16919
sycai wants to merge 3 commits intomainfrom
sycai_ai_score_update

Conversation

@sycai
Copy link
Copy Markdown
Contributor

@sycai sycai commented May 1, 2026

No description provided.

@sycai sycai requested review from a team as code owners May 1, 2026 23:25
@sycai sycai requested review from GarrettWu and TrevorBergeron and removed request for a team May 1, 2026 23:25
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 endpoint and max_error_ratio parameters to the score function and the AIScore operation, enabling more granular control over model selection and error handling. The changes include updates to the Ibis compiler, operation definitions, and documentation, along with new unit tests. Review feedback identifies a case inconsistency in the docstring and an incorrect type hint for the dtype attribute in the AIScore class.

Comment thread packages/bigframes/bigframes/bigquery/_operations/ai.py Outdated
Comment thread packages/bigframes/third_party/bigframes_vendored/ibis/expr/operations/ai_ops.py Outdated
sycai and others added 2 commits May 1, 2026 16:32
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…erations/ai_ops.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.

1 participant