Class SupportTriageWorkflow
java.lang.Object
com.example.workflows.SupportTriageWorkflow
A port of ADK Kotlin's support-triage workflow sample. A classifier labels the request, a routing
map sends it to a billing or tech specialist who looks up the facts with a tool, and a summarizer
writes the reply. Any other request goes straight to the summarizer through
otherwise.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA mock billing backend that the billing specialist queries through a tool.static final recordA charge on a customer's account.static final classA mock status page that the support engineer checks through a tool. -
Method Summary
-
Method Details
-
create
-
main
Runs the workflow on one request from a signed-in customer and prints what each node said. It calls Gemini, so it needs the credentials the README describes; the first argument, if any, overrides the model.
-