FIELD: information technology.
SUBSTANCE: result is achieved through steps of: obtaining user database data, including at least: database structure, description of tables and columns, examples of column values; indexing the obtained user database data into the vector database; converting user database data into a graph; detecting subgraphs in the database containing key-related tables; generating templates of accessing tables by identified subgraphs; performing user database table and field descriptions normalization; machine learning model adapters are trained using a normalized database structure; obtaining a user request containing a database query command in natural language; performing vectorization of the received request and its subsequent processing by the vector database; adding to the context of the user request database structure parameters stored in the vector database; generating a request to a large language model (LLM) based on the processed vector database of the user request.
EFFECT: high accuracy of converting instructions for accessing a database from a natural language to the language of SQL.
5 cl, 4 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD AND SYSTEM FOR GENERATING RESPONSE TO SEARCH QUERY | 2024 |
|
RU2834217C1 |
METHOD AND SYSTEM FOR GENERATING REQUESTS FOR ACCESSING NEURAL NETWORK LANGUAGE MODEL | 2024 |
|
RU2826816C1 |
SECURE METHOD OF ACCESS TO DATABASE | 2019 |
|
RU2709288C1 |
METHOD AND SYSTEM FOR ARRANGING DIALOGUE WITH USER IN USER-FRIENDLY CHANNEL | 2018 |
|
RU2688758C1 |
VOICE COMMUNICATION IN NATURAL LANGUAGE BETWEEN HUMAN AND DEVICE | 2014 |
|
RU2583150C1 |
METHOD FOR CONDUCTING MIGRATION AND DATA REPLICATION USING SECURED DATABASE ACCESS TECHNOLOGY | 2020 |
|
RU2745679C1 |
METHOD AND SYSTEM FOR TRAINING CHATBOT SYSTEM | 2023 |
|
RU2820264C1 |
IMAGE SEARCH IN NATURAL LANGUAGE | 2015 |
|
RU2688271C2 |
METHOD OF COMBINING LARGE LANGUAGE MODEL AND SECURITY AGENT | 2023 |
|
RU2825975C1 |
METHOD AND SYSTEM FOR GENERATING TEXT TIPS | 2024 |
|
RU2841233C1 |
Authors
Dates
2025-05-13—Published
2024-09-05—Filed