Patent attributes
A method and apparatus for facilitating a turn-based interaction between a virtual agent and a customer of an enterprise are disclosed. The method includes receiving a conversational input provided by the customer during a turn-based interaction between the customer and the agent. One or more conversational inputs exchanged between the customer and the agent prior to the customer's conversational input are identified by positioning a virtual bounding box of fixed width over textual representation of the turn-based interaction. The conversational input and the one or more conversational inputs configure a set of conversational inputs. At least one context vector representation is generated based on an encoding of the set of conversational inputs. Each word of a virtual agent reply is predicted based on the at least one context vector representation. The virtual agent reply is provided to the customer in response to the conversational input of the customer.