class_docstr: Tokenizes by making a request to the proxy server with REST endpoint: `/api/tokenize`.
docstr: The max token length of the model in. The AI21 server automatically prepends a token to every prompt,
  so the actual max sequence length is 2048-1 = 2047.
docstr_tok: ["The","max","token","length","of","the","model","in",".","The","AI21","server","automatically","prepends","a","token","to","every","prompt",",","so","the","actual","max","sequence","length","is","2048-1","=","2047","."]
code: def max_sequence_length(self) -> int:
      """
      The max token length of the model in. The AI21 server automatically prepends a token to every prompt,
      so the actual max sequence length is 2048-1 = 2047.
      """
      return 2047
  
imports: import re
  from typing import List, Optional, Tuple
  from urllib.parse import unquote
  from helm.common.tokenization_request import TokenizationRequest, TokenizationRequestResult, TokenizationToken, TextRange
  from .window_service import WindowService, EncodeResult
  from .tokenizer_service import TokenizerService
  from .gpt2_window_service import GPT2WindowService
label_desc: Use image node_id 3 for calling the AI21WindowService obj's underlying member method code with example usage: obj.max_sequence_length() and returns: int