A method of providing a response to a user query or command, implemented by one or more processors of a client device, the method comprising: capturing, via at least one microphone of the client device, audio data that captures a spoken utterance of a user, which comprises a query or a command; processing the audio data to generate current text that corresponds to the spoken utterance, wherein processing the audio data to generate the current text utilizes a voice-to-text model stored locally on the client device; accessing a text-response map stored locally on the client device, wherein the text-response map includes a plurality of mappings, each of the mappings defining text that corresponds to the query or command and a response to the query or command; the method characterised by further comprising: determining, by the client device, that the corresponding texts of the text-response map fail to match the current text; transmitting, to a remote system, the audio data or the current text; receiving, from the remote system in response to submitting the audio data or the current text, a response; updating the text-response map by adding a given text mapping, the given text mapping defining text that corresponds to the query or command and the response to the query or command; capturing, subsequent to updating the text-response map, second audio data; processing the second audio data to generate a second text utilizing the voice-to-text model stored locally on the client device; determining, based on the text-response map, that the current text matches the second text; and in response to determining that the current text matches the second text, and based on the text-response map including the given text mapping that text that corresponds to the query or command and a response to the query or command: causing the response to be rendered via one or more user output devices associated with the client device. capturing, via at least one microphone of the client device, audio data that captures a spoken utterance of a user, which comprises a query or a command; processing the audio data to generate current text that corresponds to the spoken utterance, wherein processing the audio data to generate the current text utilizes a voice-to-text model stored locally on the client device; accessing a text-response map stored locally on the client device, wherein the text-response map includes a plurality of mappings, each of the mappings defining text that corresponds to the query or command and a response to the query or command; the method characterised by further comprising: determining, by the client device, that the corresponding texts of the text-response map fail to match the current text; transmitting, to a remote system, the audio data or the current text; receiving, from the remote system in response to submitting the audio data or the current text, a response; updating the text-response map by adding a given text mapping, the given text mapping defining text that corresponds to the query or command and the response to the query or command; capturing, subsequent to updating the text-response map, second audio data; processing the second audio data to generate a second text utilizing the voice-to-text model stored locally on the client device; determining, based on the text-response map, that the current text matches the second text; and in response to determining that the current text matches the second text, and based on the text-response map including the given text mapping that text that corresponds to the query or command and a response to the query or command: causing the response to be rendered via one or more user output devices associated with the client device.