Chat2DB
Chat2DB copied to clipboard
Bug: Failed to synchronize table information
Chat2DB Version
v3.1.22
Describe the bug
When the table has been selected, the software does not pass the table information to the interface when calling the AI interface, resulting in inaccurate results. The problem is 100% reproducible, and the screenshots are as follows:
The data received on the AI interface server is as follows:
{ role: 'user', content: ' Please follow the below table properties and SQL inputConvert natural language into SQL queries. \n' + '\n' + ' MYSQL SQL tables, with their properties:\n' + '\n' + ' []\n' + '\n' + '\n' + ' SQL input: 查询视频表的数据量' }