CPC G06F 16/90332 (2019.01) [G06F 16/90324 (2019.01); G06N 20/00 (2019.01)] | 20 Claims |
1. A method for using a machine learning model to provide data corresponding to a user query, the method comprising:
receiving a user query for data stored in one or more databases, wherein the user query is represented in a first natural language;
determining a prompt file for the user query, wherein the prompt file comprises one or more pairs of example queries, wherein an example query pair comprises a first query represented in the first natural language, and a respective second query represented in a database language;
providing the prompt file and the user query as input for a machine learning model, wherein the machine learning model is configured to generate a prediction for the prompt file and the user query;
receiving the prediction generated for the prompt file and the user query, wherein the prediction comprises a predicted database query represented in the database language corresponding to the user query;
determining whether the predicted database query, based on a ground-truth database query for the user query, satisfies a level of accuracy; and
providing, using (i) the machine learning model and (ii) a virtual interface corresponding to a wearable multimedia device, data corresponding to one or more user queries.
|