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
Copy file name to clipboardExpand all lines: bigframes/operations/blob.py
+11-17Lines changed: 11 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -804,35 +804,29 @@ def audio_transcribe(
804
804
raiseValueError("Must specify the engine, supported value is 'bigquery'.")
805
805
806
806
importbigframes.bigqueryasbbq
807
-
importbigframes.ml.llmasllm
808
807
importbigframes.pandasasbpd
809
808
810
809
# col name doesn't matter here. Rename to avoid column name conflicts
811
810
audio_series=bigframes.series.Series(self._block)
812
811
813
812
prompt_text="**Task:** Transcribe the provided audio. **Instructions:** - Your response must contain only the verbatim transcription of the audio. - Do not include any introductory text, summaries, or conversational filler in your response. The output should begin directly with the first word of the audio."
814
813
815
-
llm_model=llm.GeminiTextGenerator(
816
-
model_name=model_name,
817
-
session=self._block.session,
818
-
connection_name=connection,
819
-
)
814
+
# Convert the audio series to the runtime representation required by the model.
0 commit comments