Language model-assisted system installation, diagnostics, and debugging
Disclosed are apparatuses, systems, and techniques that train and use trained language models to assist users with complex systems installation, troubleshooting, and/or maintenance. The techniques include receiving, via a user interface (UI), a natural language (NL) query associated with one or more malfunction indicators indicative of a malfunction state of a system, providing, to a language model (LM) trained using a documentation associated with the system, an input having a prompt that is based at least on the NL query. The techniques further include receiving, from the LM, a response to the NL query, the response having one or more instructions associated with resolution of the malfunction state of the system and causing the UI to display the response.
1 . A method comprising:
receiving, via a user interface (UI), a natural language (NL) query associated with one or more malfunction indicators present in a test log and indicative of a malfunction state of the system, the malfunction state of the system detected by a diagnostic tool having access to at least one of a hardware of the system or a software operating on the system;
providing, to a language model (LM) trained using documentation associated with the system, an input comprising a prompt that is based at least on the NL query and one or more embeddings associated with a test log produced by the diagnostic tool and representative of the malfunction state of the system;
receiving, from the LM, a response to the NL query, the response comprising one or more instructions associated with resolution of the malfunction state of the system that comprises at least one of:
replacement of a component of the system,
installation of software on the system, or
reinstallation of the software on the system; and
causing the UI to display the one or more instructions.
2 . The method of claim 1 , wherein the malfunction state of the system is detected in association with performed diagnostics of the system.
3 . The method of claim 1 , wherein resolving the malfunction state of the system comprises:
generating, responsive to the performed action, an updated test log associated with an updated state of the system;
providing, to the LM, an updated prompt that is based at least on the updated test log;
receiving, from the LM, an updated response to the NL query, the updated response comprising one or more additional instructions associated with resolution of the updated state of the system.
4 . The method of claim 1 , further comprising, prior to receiving the NL query:
providing, to the LM, an initial input based at least on an initial NL query; and
receiving, from the LM, an initial response to the initial NL query, the initial response comprising one or more initial instructions; and
wherein the one or more malfunction indicators are indicative of an initial attempt to resolve the malfunction state of the system.
5 . The method of claim 1 , wherein the LM comprises a large language model.
6 . The method of claim 1 , wherein the documentation associated with the system comprises one or more of:
a diagnostic documentation for the system,
a system architecture documentation for the system, or
one or more training diagnostic logs associated with historical or simulated malfunctions of the system.
7 . The method of claim 1 , wherein the NL query is generated responsive to at least one of:
a scheduled maintenance of the system,
a hardware update of the system,
a software update of the system,
a firmware update of the system, or
an inoperable condition of the system.
8 . The method of claim 1 , wherein the query comprises at least one of a text prompt, a speech prompt, an audio prompt, or an image prompt.
9 . A method comprising:
generating training data comprising:
a natural language (NL) query associated with one or more malfunction indicators indicative of a malfunction state of a system,
one or more embeddings generated by a trained embedding generator, documentation associated with the system, and
a training diagnostic log associated with the malfunction state of the system;
using the training data to cause a processing device to train a language model (LM) to generate a NL response to the NL query, the NL response comprising one or more instructions associated with resolution of the malfunction state of the system,
wherein the LM comprises at least one billion neuron parameters arranged in a plurality of neuron layers,
wherein to train the LM, the processing device is to backpropagate an error through multiple neuron layers of the plurality of neuron layers, and
wherein the one or more instructions associated with resolution of the malfunction state of the system comprises at least one of:
instructions associated with replacement of a component of the system,
instructions associated with installation of software on the system, or
instructions associated with reinstallation of the software on the system.
10 . The method of claim 9 , wherein the documentation associated with the system comprises one or more of:
a diagnostic documentation for the system, or
a system architecture documentation for the system.
11 . The method of claim 9 , wherein the training diagnostic log comprises at least one of:
a diagnostic log associated with performed diagnostics of the system, or
a synthetic diagnostic log for the malfunction state of the system.
12 . The method of claim 9 , wherein the training data further comprises:
a sample NL response to the NL query, and
wherein using the training data to train the LM comprises:
applying the training data to the LM to obtain a training NL response; and
causing, using a difference between the training NL response and the sample NL response, one or more parameters of the LM to be modified.
13 . The method of claim 9 , wherein using the training data to train the LM comprises:
applying the training data to the LM to obtain a training NL response;
obtaining an evaluation score characterizing effectiveness of the training NL response for resolution of the malfunction state of the system; and
causing, using the evaluation score, one or more parameters of the LM to be modified.
14 . The method of claim 9 , wherein the LM comprises a neural network-based large language model.
15 . A system comprising:
one or more processing units to:
receive, via a user interface (UI), a natural language (NL) query associated with one or more malfunction indicators present in a test log and indicative of a malfunction state of the system, the malfunction state of the system detected by a diagnostic tool having access to at least one of a hardware of the system or a software operating on the system;
provide, to a language model (LM) trained using documentation associated with the system, an input comprising a prompt that is based at least on the NL query and the one or more embeddings associated with a test log produced by the diagnostic tool and representative of the malfunction state of the system;
receive, from the LM, a response to the NL query, the response comprising one or more instructions associated with resolution of the malfunction state of the system that comprises at least one of:
replacement of a component of the system,
installation of software on the system, or
reinstallation of the software on the system; and
cause the UI to display the one or more instructions.
16 . The system of claim 15 , wherein the malfunction state of the system is detected in association with performed diagnostics of the system.
17 . The system of claim 16 , wherein to resolve the malfunction state of the system, the one or more processing units are to:
generate, responsive to the performed action, an updated test log associated with an updated state of the system;
provide, to the LM, an updated prompt that is based at least on the updated test log;
receive, from the LM, an updated response to the NL query, the updated response comprising one or more additional instructions associated with resolution of the updated state of the system.
18 . The system of claim 15 , wherein the documentation associated with the system comprises one or more of:
a diagnostic documentation for the system,
a system architecture documentation for the system, or
one or more training diagnostic logs associated with historical or simulated malfunctions of the system.
19 . The system of claim 15 , wherein the LM communicates with at least one of an application programming interface (API) or a plug-in to retrieve additional information related to the NL query.
20 . The system of claim 15 , wherein the system is comprised in at least one of:
an in-vehicle infotainment system for an autonomous or semi-autonomous machine;
a system for performing one or more simulation operations;
a system for performing one or more digital twin operations;
a system for performing light transport simulation;
a system for performing collaborative content creation for 3D assets;
a system for performing one or more deep learning operations;
a system implemented using an edge device;
a system for generating or presenting at least one of virtual reality content, mixed reality content, or augmented reality content;
a system implemented using a robot;
a system for performing one or more conversational AI operations;
a system implementing one or more large language models (LLMs);
a system implementing one or more language models;
a system for performing one or more generative AI operations;
a system for generating synthetic data;
a system incorporating one or more virtual machines (VMs);
a system implemented at least partially in a data center; or
a system implemented at least partially using cloud computing resources.