boto3
Python SDK to invoke Palmyra models on Bedrockboto3
SDK.
Install the boto3
SDK using the following command:
boto3
Python SDK to create a chat completion with the Palmyra X5 model on Bedrock. The modelId
is us.writer.palmyra-x5-v1:0
, which is the ID for the cross-region inference profile for Palmyra X5.
converse
method in the boto3 Python SDK documentation.