code: def __init__(self, *args, **kwargs):
      if not is_vision_available():
          raise ValueError(
              "Pillow must be installed to use the DocumentQuestionAnsweringTool."
          )
  
      super().__init__(*args, **kwargs)
  
file_path: transformers/src/transformers/tools/document_question_answering.py
imports: import re
  from ..models.auto import AutoProcessor
  from ..models.vision_encoder_decoder import VisionEncoderDecoderModel
  from ..utils import is_vision_available
  from .base import PipelineTool
label_desc: Use image node_id 1 to create a new DocumentQuestionAnsweringTool object from inherited base classes: PipelineTool with example: obj = DocumentQuestionAnsweringTool()