Using Bedrock Agents

0
I am trying to find any documentation that explains how to use the Bedrock agents in the Mendix AI Bot Starter App. I can query against the available FMs and our custom knowledge bases in AWS.  What I can't figure out is how to get the chat interface to use the Bedrock custom agents I've built.  I see them listed in the bot configuration, but nothing that lets me use them.  Is this something that needs custom development or is it built into the starter app?   Does anyone have any links to documentation that will help me get started using Bedrock agents in Mendix?  
asked
2 answers
0

Hi Will,

 

at the moment, Bedrock Agents are not supported out of the box in the AI Bot Starter App.

 

You could likely use the "Invoke Agent" action from the Amazon Bedrock Connector (see docs and some examples in "InvokeAgent" folder of the connector) inside of the action microflows. However, AWS agent communication is async and at the moment not compatible with the Conversational UI module, so you need to handle the sync process yourself and map the outcome to the GenAICommons.Response object to pass it to the "Update Assistant Response" action in the action microflow. Then the UI should work as expected.

 

I hope that helps and happy to see the results. Feel free to contact us in the #genai-connectors slack channel.

 

Best regards

Liam

answered
0

Hi Liam,

 

Thanks for you reply.  I was looking at the invoke agent, but was hoping there was a little more guidance on setting it up.  The details you provided though, does help a lot.  I will look into this some more and see if I can get it working.

 

Thanks again!

Will

answered