Update: for the tokenization issue I figured the best solution would be to just use python for that, so I’m going to make a Rest API for tokenization and call it in my node.js code. Going to paste code for it here when it’s done. I just need the help with the question in what order to tokenize messages I mentioned in the previous post. Thank you for helping me in advance