A method of determining a current intent associated with a current query of a user for generating an intent-specific response associated with the current intent for the current query, the user being associated with the current query and a preceding query, the preceding query being associated with a preceding intent, the current and preceding intents being amongst a plurality of potential intents, the method executable by a server, the method comprising:
- receiving, by the server, the current query and the preceding intent;
- determining, by the server, a respective intent-association parameter for each one of the plurality of potential intents based on the current query, a given intent-association parameter being indicative of a probability of the current query being associated with a respective one of the plurality of potential intents;
- determining, by the server, a respective intent-transition parameter for each one of the plurality of potential intents, a given intent-transition parameter being indicative of a probability of a change of the preceding intent to the respective one of the plurality of potential intents;
- determining, by the server, a respective adjusted intent-association parameter for each one of the plurality of potential intents as a multiplication of the respective intent-association parameter and the respective intent-transition parameter;
- and
- selecting, by the server, one of the plurality of potential intents as the current intent based on the adjusted intent-association parameters.