docstr: Return the max sequence length for GPT-4.
  
  Source: https://platform.openai.com/docs/models
docstr_tok: ["Return","the","max","sequence","length","for","GPT-4",".","Source",":","https",":","\/\/platform.openai.com\/docs\/models"]
code: def max_sequence_length(self) -> int:
      """Return the max sequence length for GPT-4.
  
      Source: https://platform.openai.com/docs/models"""
      return 8192
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/window_services/wider_openai_window_service.py
imports: from .gpt2_window_service import GPT2WindowService
label_desc: Use image node_id 1 for calling the GPT4WindowService obj's underlying member method code with example usage: obj.max_sequence_length() and returns: int