| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I'm fine with the overall approach. As usual, I'm anti-"lazy loading approach". I'd also like to see us try to unify the APIs that use gRPC a little bit (doesn't need to happen here, just want to keep an eye on it). |
Sorry, something went wrong.
If present, prefer the GAX helper, but allow disabling it via an environment marker.
|
Issue #1857 tracks the question of lazy-loading the API helpers. |
Sorry, something went wrong.
Co-authored-by: omair <omairn@google.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* 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>
| Back | FazBrowse Home | New Git URL |
Not yet ready to merge, as the system tests will break until new versions of grpcio and google-gax-pubusb-v1 are released (see #1814).
@dhermes PTAL at the overall approach to choosing gRPC vs. JSON-over-HTTP.