Skip to content

Commit 8605075

Browse files
committed
refactor: deprecate and clean up multimodal blob APIs
1 parent 59230c4 commit 8605075

File tree

10 files changed

+130
-2575
lines changed

10 files changed

+130
-2575
lines changed

packages/bigframes/bigframes/bigquery/_operations/ai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ def _separate_context_and_series(
10031003
if isinstance(prompt, series.Series):
10041004
if prompt.dtype == dtypes.OBJ_REF_DTYPE:
10051005
# Multi-model support
1006-
return [None], [prompt.blob.read_url()]
1006+
return [None], [prompt._blob._read_url()]
10071007
return [None], [prompt]
10081008

10091009
prompt_context: List[str | None] = []
@@ -1040,7 +1040,7 @@ def _convert_series(
10401040

10411041
if result.dtype == dtypes.OBJ_REF_DTYPE:
10421042
# Support multimodel
1043-
return result.blob.read_url()
1043+
return result._blob._read_url()
10441044
return result
10451045

10461046

0 commit comments

Comments
 (0)