Chat2DB icon indicating copy to clipboard operation
Chat2DB copied to clipboard

Bug: Failed to synchronize table information

Open dark2star opened this issue 1 year ago • 0 comments

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: image 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: 查询视频表的数据量' }

dark2star avatar Jun 01 '24 13:06 dark2star