How the chatbot understands sentences

Sam Smith

411

“The recurrent unit receives these two inputs, does some clever internal mathematical operations, and then it generates two outputs”

What is the clever internal mathematical operations? How are the word vectors used to produce a ‘sentence vector’? Would be really interested in understanding this.