- Newest
- Most votes
- Most comments
Thank you for the detailed report. I can confirm that Amazon Bedrock supports OpenAI-compatible APIs through the bedrock-mantle endpoint, including the Responses API. However, the specific compatibility issues you've identified with the official OpenAI .NET SDK appear to be implementation differences between Bedrock Mantle's response format and what the OpenAI SDK expects.
Based on the information available, the bedrock-mantle endpoint is designed to support OpenAI-compatible APIs and is recommended for users looking to easily migrate from other models that use these APIs. It supports both client and server-side tool use with Lambda functions and comes pre-configured with ready-to-use tools.
The issues you're experiencing—specifically the created_at field being returned in scientific notation (float format) rather than as an integer, and the rejection of content as an array of content parts—suggest there may be differences in how Bedrock Mantle implements the OpenAI-compatible API specification compared to the official OpenAI API that the .NET SDK was designed for.
For the Responses API specifically, the expected usage pattern shown in the documentation uses the Python OpenAI SDK. While the service aims to be OpenAI-compatible, there may be nuances in the implementation that affect compatibility with different SDK versions or languages.
I'd recommend reporting these specific compatibility issues through AWS Support channels so the Bedrock team can investigate whether these are intended behaviors or bugs that need to be addressed to improve compatibility with the official OpenAI .NET SDK.
Sources
Generate responses using OpenAI APIs - Amazon Bedrock
Endpoints supported by Amazon Bedrock - Amazon Bedrock
Overview - Amazon Bedrock
answered 6 months ago
Relevant content
asked 2 months ago
