🔥 3-day streak
AWS Certified Generative AI Developer - Professional19 / 166
Question 19 of 166

A retail company is building a returns-processing assistant. The workflow requires: (1) validating an order number against a fulfillment API, (2) checking return eligibility based on a business-rules engine, and (3) generating a refund confirmation. The order in which these steps run can vary depending on customer input, and the LLM must decide which tool to invoke next based on intermediate results. The team wants to minimize the amount of custom orchestration code they maintain while still allowing the model to reason dynamically about which action to take. Which implementation approach best fits these requirements?

Reviewed for accuracy · Report an issueNext question