Database query method and device based on natural language, electronic equipment and medium

The invention provides a database query method and device based on a natural language, electronic equipment and a storage medium. The database query method based on the natural language comprises the steps that a to-be-queried database is acquired, and an original question list is generated based on...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU YULIANG, GONG XIANGFENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a database query method and device based on a natural language, electronic equipment and a storage medium. The database query method based on the natural language comprises the steps that a to-be-queried database is acquired, and an original question list is generated based on the to-be-queried database; receiving proofreading information and domain knowledge annotation information of the original question list manually; vectorizing the corrected question list and the domain knowledge annotation information corresponding to each question to generate a sample set; obtaining a question to be queried by a user, analyzing the question to be queried by the user by using a natural language processing large model, and obtaining a structured query language in combination with the domain knowledge annotation information corresponding to each question; according to the method, high-precision query of the natural language database can be achieved without model training, the query accuracy and effi