跳至內容

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 個月前檢視次數 82 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。