Skip to content

Commit f6c162f

Browse files
authored
Update google-cloud-aiplatform dependency (#677)
When I tried to run `$ python openfunctions_evaluation.py --model gemini-1.5-pro-002-FC` I got a lot of ``` Generating results for gemini-1.5-pro-002-FC: 2%|█▋ | 80/4751 [00:49<1:06:42, 1.17it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|█▉ | 89/4751 [00:55<43:43, 1.78it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|█▉ | 90/4751 [00:56<1:07:45, 1.15it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|██ | 92/4751 [00:57<56:26, 1.38it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable ❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|██ | 94/4751 [01:04<2:05:32, 1.62s/it]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable ``` upgrading to the latest version seems to fix this issue.
1 parent 9e86e06 commit f6c162f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

berkeley-function-call-leaderboard/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"mistralai==1.1.0",
2828
"anthropic==0.31.1",
2929
"cohere==5.5.8",
30-
"google-cloud-aiplatform==1.65.0",
30+
"google-cloud-aiplatform>=1.70.0",
3131
"pathlib",
3232
]
3333

0 commit comments

Comments
 (0)