Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

OpenAPI tool use in Conversational Agents - calls API but doesn't respond to user?

In Conversational Agents Preview, I'm trying to get a playbook to use an API endpoint  that returns a raw JSON object with basic job profile information for green jobs. I've added a few shot examples of calling the tool, and then formatting the JSON data into a conversational response. 

One example I've given in the playbook set up has this JSON input from the API call

The agent successfully calls the API tool and does this for a range of valid job titles (not just the ones in my examples). I can see it gets the JSON response in the test agent simulator.
But it fails to give any formatted response back to the user. 

Has anyone got this working successfully with a playbook in the Conversational Agents preview?


0 2 479
2 REPLIES 2