1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Try to add this. Note that it is client side timeout and not server-side.
config = Config(
connect_timeout=300,
read_timeout=300,
)
bedrock_client = boto3.client(service_name='bedrock-runtime', config=config)
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a 2 mois
- demandé il y a 2 ans
- demandé il y a 2 ans
I tried this and it only extends the amount of time I must wait for the request to be retried. Instead of waiting 60 seconds, this setting makes you wait 5 minutes for a request that normally takes 5 - 15 seconds. (Note that I'm testing from EC2 instances in the same region as the Bedrock endpoint.)