Skip to main content
When GenerativeAgent analyzes a conversation, by default, it will automatically select the appropriate task and follow its instruction. If your system already knows which task to use, you can specify it by using the taskName attribute in the /analyze request. This pattern also pairs with the Call on Entry pattern: engage GenerativeAgent with a specific entry Task, then add a Function to that Task with Call on Entry enabled to fetch caller information before the first turn.