aws / fmeval

Foundation Model Evaluations Library
http://aws.github.io/fmeval
Apache License 2.0
153 stars 40 forks source link

fix: set default region for boto3 client to access built-in datasets #242

Closed oyangz closed 3 months ago

oyangz commented 3 months ago

Description of changes:

Set s3 boto3 client region to us-west-2 when accessing built-in datasets to fix invalid dataset path issue in opt-in regions.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.