Goal:
I'm trying to use Retool AI to ask questions using my AWS Bedrock Knowledgebase as a vector store.
Steps:
I've set up my knowledgebase as a Vector and created a new query using the Retool AI type. I've selected my knowledgebase from the list of available vectors.
Details:
When submitting a query, I just get an error:
{"status":422,"message":"AWS Region is missing."}
This error isn't super helpful as I'm not sure which layer here is having a configuration problem. When setting up a vector in retool, for example, there's no mention of a region.
Just to eliminate the low-hanging fruit, can you double check that the region successfully saved when you initially configured Bedrock via the "Retool AI" resource page?
Actually, I just realized that there are two distinct ways to integrate with Bedrock - one via the "Retool AI" menu, which I shared above, and other via the "Retool Vectors" menu, which I'm assuming you used.
I'm pretty sure the former needs to be configured in order to use the latter! The fact that this isn't enforced seems like a bug that I'll report to the team.
Phew! Ok - yeah that's correct, I only set up the the vectors connection w/o the bedrock connection. But ok - I'll go ahead and update that as well then!
And just an update for the record - that sorted it out. Makes sense that those credentials and region would need to be specified somewhere but yes, it'd be great to have the system reflect that.
Glad to hear it! We have a fix that will point users towards the required setup that should go out in the next week or so. Thanks again for flagging this!