class_docstr: A group of sequences that are generated from the same prompt.
  
  Args:
      request_id: The ID of the request.
      seqs: The list of sequences.
      sampling_params: The sampling parameters used to generate the outputs.
      arrival_time: The arrival time of the request.
class_docstr_tok: ["A","group","of","sequences","that","are","generated","from","the","same","prompt",".","Args",":","request_id",":","The","ID","of","the","request",".","seqs",":","The","list","of","sequences",".","sampling_params",":","The","sampling","parameters","used","to","generate","the","outputs",".","arrival_time",":","The","arrival","time","of","the","request","."]
code: def add(self, seq: Sequence) -> None:
      if seq.seq_id in self.seqs_dict:
          invalidInputError(
              False, f"Sequence {seq.seq_id} already exists."
          )
      self.seqs_dict[seq.seq_id] = seq
  
imports: import copy
  import enum
  import time
  from typing import Dict, List, Optional, Union
  from bigdl.llm.vllm.sampling_params import SamplingParams
  from bigdl.llm.utils.common import invalidInputError
label_desc: Use image node_id 10 for calling the SequenceGroup obj's underlying member method code with example usage: obj.add(seq) without return types