AI Agent REST API - retreiving the API call response in chat
Summary:
We are trying to demo out some API calls in our DEV environments. One AI Agent built was very simple API call to create banks and it works very well. What we are missing though is the ability to capture, in the Agents response to the user, why the API failed if it received an error.
Content (please ensure you mask any confidential information):
Below is an example of the API Input/Output for a 'failed' scenario. I have tried putting in direction into the prompt to request the agent to provide back the API's output, but to no effect. I would like to capture the Output when the API Call results in an error.
Tagged:
0