Class RequestInputAdvancedWorkflow
java.lang.Object
com.example.workflows.RequestInputAdvancedWorkflow
A port of adk-python's
request_input_advanced workflow sample: an agent extracts a
time-off request from the user's message, a node approves one day on its own and otherwise asks a
manager, sending the request as the payload and asking for an answer that matches a schema, and
the last node reports the decision.-
Method Summary
-
Method Details
-
create
-
main
Runs the workflow on a one-day request, then on a five-day request that a manager approves for four days, and prints each decision. It calls Gemini, so it needs the credentials the README describes; the first argument, if any, overrides the model.
-