AI Agent with tools

radek.bb
radek.bb Member Posts: 50

(good to see mibuso is still alive, but the categories could be updated a bit ;) )

I have an agent implemented based on MS guidelines - with tools implementing AOAI Function interface. One tool is to add new data, another is to read existing data.

When I ask agent to use read tool - it reads the data as it should.

When I ask agent to create data - it creates data as it should.

But when I ask to read data and create new based on what has been read - story ends after calling the first tool.

In all cases AL code is the same - both tools added and set for 'auto' use, chat completion generated using the same system prompt - the only difference is user prompt.

Is it too much to expect AI Agent to play with multiple the tools by its own?