You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore!: Remove attach_logprobs parameter from AI operations (#1816)
* Refactor: Remove attach_logprobs parameter from AI operations
This commit removes the `attach_logprobs` parameter from the `filter`, `map`, `classify`, and `join` methods within the `AIAccessor` class in `bigframes/operations/ai.py`.
The associated logic for calculating and attaching the 'logprob' column has also been removed from the `map` method.
System tests in `tests/system/large/operations/test_ai.py` that specifically tested the `attach_logprobs` functionality have been updated by:
- Removing the `attach_logprobs=True` argument from method calls.
- Removing assertions for the 'logprob' column.
- Renaming the test methods to reflect their updated scope (e.g., `test_filter_attach_logprob` to `test_filter_functionality_formerly_attach_logprob`).
The small system tests and experimental notebooks were not affected as they did not utilize this parameter.
* polish tests
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
0 commit comments