class_docstr: The output data of one completion output of a request.
  
  Args:
      index: The index of the output in the request.
      text: The generated output text.
      token_ids: The token IDs of the generated output text.
      cumulative_logprob: The cumulative log probability of the generated
          output text.
      logprobs: The log probabilities of the top probability words at each
          position if the logprobs are requested.
      finish_reason: The reason why the sequence is finished.
code: def finished(self) -> bool:
      return self.finish_reason is not None
  
file_path: BigDL/python/llm/src/bigdl/llm/vllm/outputs.py
imports: from typing import Dict, List, Optional
  from bigdl.llm.vllm.sequence import SequenceGroup, SequenceStatus
label_desc: Use image node_id 2 for calling the CompletionOutput obj's underlying member method code with example usage: obj.finished() and returns: unknown