class_docstr: Metadata for a sequence group. Used to create `InputMetadata`.
  
  
  Args:
      request_id: The ID of the request.
      is_prompt: Whether the request is at prompt stage.
      seq_data: The sequence data. (Seq id -> sequence data)
      sampling_params: The sampling parameters used to generate the outputs.
class_docstr_tok: ["Metadata","for","a","sequence","group",".","Used","to","create","`","InputMetadata","`",".","Args",":","request_id",":","The","ID","of","the","request",".","is_prompt",":","Whether","the","request","is","at","prompt","stage",".","seq_data",":","The","sequence","data",".","(","Seq","id","-",">","sequence","data",")","sampling_params",":","The","sampling","parameters","used","to","generate","the","outputs","."]
code: def __init__(
      self,
      request_id: str,
      is_prompt: bool,
      seq_data: Dict[int, SequenceData],
      sampling_params: SamplingParams,
  ) -> None:
      self.request_id = request_id
      self.is_prompt = is_prompt
      self.seq_data = seq_data
      self.sampling_params = sampling_params
  
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 1 to create a new SequenceGroupMetadata object  with example: obj = SequenceGroupMetadata(request_id, is_prompt, seq_data, sampling_params)