跳至内容

Do Bedrock invoke commands support MiniMax models?

-1

Do the Bedrock InvokeModelCommand and InvokeModelWithResponseStreamCommand commands support the MiniMax models. I can't find anything which explicitly states that they do not, but I also can't find any examples.

Secondly, these commands are not very convenient, since the native payload of the model is required. Are there any Bedrock command which provide a more unified interface, and also support streaming?

已提问 2 个月前74 查看次数
1 回答
0
已接受的回答

Yes, the Bedrock invoke commands do support MiniMax models. According to the API compatibility documentation, MiniMax models (M2, M2.1, and M2.5) support the Invoke API family, which includes both InvokeModel and InvokeModelWithResponseStream. The MiniMax models are marked with an asterisk in the documentation, indicating they support streaming via InvokeModelWithResponseStream.

Regarding your second question about a more unified interface, yes, Amazon Bedrock provides the Converse API family as an alternative. The Converse API offers a unified, model-agnostic interface that works across different foundation models, eliminating the need to work with each model's native payload format. This API family supports both synchronous multi-turn conversations and streaming output through ConverseStream, providing a more convenient way to interact with models while still supporting streaming capabilities.

The Converse API is specifically designed to address the inconvenience you mentioned about needing to know each model's specific payload format when using the Invoke commands.
Sources
API compatibility - Amazon Bedrock
Endpoint availability - Amazon Bedrock

已回答 2 个月前
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。