I have created a Conversational agent connected to a BigQuery database with cloud run functions using VertexAI builder and connected it to Slack with a ready-made integration.
It seems that not all of the functional queries given in the preview window work in Slack, for example, if I ask for the total number of rows in a database table, it works, but if I ask to return the first 10 rows, it doesn't work, but says "I'm sorry, I can't fulfill this request. The tool I use to access data is not working properly"?
Another problem is related to file creation. The code_interpreter tool connected to the agent does generate a .csv file, for example, but it only does so according to the agent's cache, and the file cannot be loaded from anywhere. How could this problem be solved and could the agent be asked to create a file from the records to be returned?
Hi @Teppo,
Welcome to the Google Cloud Community!
I understand that you're facing a couple of issues with your conversational agent integrated with BigQuery, Cloud Run functions, and Slack. Let's address the challenges you're encountering and discuss some potential solutions :
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
1. I explained it unclearly, sorry. BigQuery does return the data just fine and I can see it in the agent preview. This error "I'm sorry, I can't fulfill this request..." comes up when I try to perform the same task via Slack. It seems like something mysterious is happening with the Slack integration.
2. Creating Cloud Storage Bucket would be a possible solution. I will look at it. I assume I would need to make a separate tool for that and call it in instructions.