Update api_usage.py
Browse files- api_usage.py +1 -1
api_usage.py
CHANGED
|
@@ -466,7 +466,7 @@ def invoke_claude(session, region):
|
|
| 466 |
"prompt": "\n\nHuman:\n\nAssistant:",
|
| 467 |
"max_tokens_to_sample": 0
|
| 468 |
})
|
| 469 |
-
response = bedrock_runtime.invoke_model(body=body, modelId="anthropic.claude-v2
|
| 470 |
except bedrock_runtime.exceptions.ValidationException as error:
|
| 471 |
#print(error.response['Error'])
|
| 472 |
return region
|
|
|
|
| 466 |
"prompt": "\n\nHuman:\n\nAssistant:",
|
| 467 |
"max_tokens_to_sample": 0
|
| 468 |
})
|
| 469 |
+
response = bedrock_runtime.invoke_model(body=body, modelId="anthropic.claude-v2")
|
| 470 |
except bedrock_runtime.exceptions.ValidationException as error:
|
| 471 |
#print(error.response['Error'])
|
| 472 |
return region
|