[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"workflow-categorization-state-machine":3},{"id":4,"title":5,"cleanup":6,"contributors":9,"deploy":11,"description":14,"diagram":15,"extension":16,"framework":17,"gitHub":18,"introBox":27,"level":36,"meta":37,"resources":38,"s3URL":52,"services":53,"simplicity":56,"stem":57,"testing":58,"type":61,"usecase":62,"videoId":52,"__hash__":63},"workflows\u002Fworkflows\u002Fcategorization-state-machine.json","Message categorization with Amazon Bedrock",{"text":7},[8],"\u003Ccode>sam delete\u003C\u002Fcode>",[10],"content\u002Fcontributors\u002Fcarita-niskanen.json",{"text":12},[13],"sam deploy","Message categorizing with AWS Step Functions, Amazon Bedrock and Amazon Simple Queue Service.","\u002Fassets\u002Fimages\u002Fworkflows\u002Fcategorization-state-machine.png","json","AWS SAM",{"template":19,"payloads":24},{"repoURL":20,"templateDir":21,"templateFile":22,"ASL":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fcategorization-state-machine\u002F","categorization-state-machine","template.yaml","statemachine\u002FstateMachine.asl.json",[25],{"headline":26,"payloadURL":26},"",{"headline":28,"text":29},"How it works",[30,31,32,33,34,35],"The provided example demonstrates the deployment of a serverless application using the AWS Serverless Application Model (SAM) template.","This Express state machine is designed to categorize messages into queues for further processing based on business needs.","It uses the input message from the user to invoke an language model through Amazon Bedrock which will return a category for the message.","The output from the model is returned to Step Functions which will further route the message to a correct SQS queue for further processing.","If no queue is found, Step Functions will send the message to a default queue.","The SQS queue processing is not included as part of this example but showcases the capabilities for message routing based on LLM categorization.","200",{},{"bullets":39},[40,43,46,49],{"text":41,"link":42},"Amazon Bedrock","https:\u002F\u002Faws.amazon.com\u002Fbedrock\u002F",{"text":44,"link":45},"Amazon Simple Queue Service","https:\u002F\u002Faws.amazon.com\u002Fsqs\u002F",{"text":47,"link":48},"AWS Step Functions Intrinsic functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Famazon-states-language-intrinsic-functions.html",{"text":50,"link":51},"Synchronous and Asynchronous Express Workflows","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fconcepts-express-synchronous.html",null,[54,55],"bedrock","sqs","1 - Fundamental","workflows\u002Fcategorization-state-machine",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","Express","AI\u002FML\u002FGenAI","8_ap4AafiHwXAVFtaM5izoF8R-9UwZC66IpgYgbToAw",1779878122017]