I created a function to update inventory, but PromptQL sa

I created a function to update inventory, but PromptQL says no command is available. Why?

Chances are you didn’t add the function to your application’s metadata, @james_chen

The first step when incorporating custom business logic is always writing the function itself (which it sounds like you’ve done, great!). What’s next is then making PromptQL aware of that function…this happens via re-introspecting your data source (the lambda connector), adding the function as a command, and then rebuilding your application.

You can see the full workflow here in this tutorial, but please let me know if this doesn’t sort you :+1: