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: tests/system/load/test_llm.py
+49-7
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,12 @@
22
22
defllm_fine_tune_df_default_index(
23
23
session: bigframes.Session,
24
24
) ->bigframes.dataframe.DataFrame:
25
-
sql="""
26
-
SELECT
27
-
CONCAT("Please do sentiment analysis on the following text and only output a number from 0 to 5 where 0 means sadness, 1 means joy, 2 means love, 3 means anger, 4 means fear, and 5 means surprise. Text: ", text) as prompt,
prefix="Please do sentiment analysis on the following text and only output a number from 0 to 5 where 0 means sadness, 1 means joy, 2 means love, 3 means anger, 4 means fear, and 5 means surprise. Text: "
0 commit comments