I copied the code from this project
https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/function-calling/sql-talk-app
And everything worked fine
When I tried to create my own dataset and tables (in the same BigQuery) suddenly the chat doesn't know how to answer.
This is what he answers me:
I'm sorry, I can't answer this question. The available tool code does not provide access to database schemas or names.
Anyone have an idea?
Hi @moshe28,
Welcome to Google Cloud Community!
It seems like you're facing an issue where the chatbot you're working with is unable to access your custom BigQuery dataset and tables after creating them. The error message, "I can't answer this question. The available tool code does not provide access to database schemas or names," suggests that the function or code responsible for querying the BigQuery database is unable to discover or access the new tables or datasets.
Here are a few things you can check or try to resolve this issue:
Here are some additional resources that might be helpful:
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.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |