Method for establishing link between natural language question and database
By obtaining user input problems, database and sample data sets, using vectorization and similarity calculation to determine the reference data and candidate tables, and recalling candidate fields through field recall model, the problem of low accuracy of natural language problems and database links is solved, and more accurate SQL statement generation and more efficient data access is achieved.
Patent Information
- Application Number
- CN202411771880.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, when establishing links between natural language problems and databases, there is a problem of low accuracy, mainly due to uncertainties such as word meaning ambiguity, syntactic ambiguity and insufficient information in natural language.
By obtaining user input problems, database and sample data sets, using vectorization and similarity calculations to determine the reference data and candidate tables, and recalling candidate fields through field recall model to establish a link between natural language problems and database.
It improves the link accuracy between natural language problems and database tables, provides a more accurate basis for generating SQL statements, and improves the convenience of data access and user experience.