Enter to send·Shift+Enter new line
encode: Callable[[str], list[int]]
Function to encode a string to a list of token IDs