Patent attributes
A goal-oriented dialog system interacts with a user over one or more turns of dialog to determine a goal expressed by the user; the dialog system may then act to fulfill the goal by, for example, calling an application-programming interface. The user may supply dialog via text, speech, or other communication. The dialog system includes a first trained model, such as a translation model, to encode the dialog from the user into a context vector; a second trained model, such as another translation model, determines a plurality of candidate probabilities of items in a vocabulary. A language model determines responses to the user based on the input from the user, the context vector, and the plurality of candidate probabilities.