Replies: 1 comment
-
Ahah. Yep, as I suspected, my ignorance. I was trying to interact with a legacy invoke endpoint using the converse APIs - doesn't work! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the bedrock SDK to generate an
IChatClient
to use alongside other chat clients usingMicrosoft.Extensions.AI
. Something like:The request generated when I call
GetResponseAsync
doesn't seem to match the AWS bedrock API. Specifically, the messages in the content list do not include atype
property:Based on the API I'd expect to see
"type": "text"
alongside the "text" property there. The response I get is:I suspect I'm doing something wrong, but can't figure out what! I'm targeting an instance of bedrock that I don't directly control, so the issue could be with how it's set up. I'll check with those who set it up, but they aren't familiar with this .NET SDK, so I want to check I'm not missing something on my end.
Beta Was this translation helpful? Give feedback.
All reactions