code: def add_session(
          self,
          session,
          input_dataset=True,
          summary_table=True,
          recommendation_details=True,
          recommended_model=True,
          all_models=False,
      ):
          
  
          self.doc.add_paragraph(session.dataset._get_dataset_name(), self.styles.header_1)
          self.doc.add_paragraph("BMDS version: {}".format(session.version_pretty))
  
          if input_dataset:
              self._add_dataset(session)
              self.doc.add_paragraph()
  
          if summary_table:
              self._add_session_summary_table(session)
              self.doc.add_paragraph()
  
          if recommendation_details:
              self._add_recommendation_details_table(session)
              self.doc.add_paragraph()
  
          if recommended_model and all_models:
              self._add_recommended_model(session)
              self._add_all_models(session, except_recommended=True)
              self.doc.add_paragraph()
          elif recommended_model:
              self._add_recommended_model(session)
              self.doc.add_paragraph()
          elif all_models:
              self._add_all_models(session, except_recommended=False)
              self.doc.add_paragraph()
  
          self.doc.add_page_break()
docs: Add an existing session to a Word report.
  
          Parameters
          ----------
          session : bmds.Session
              BMDS session to be included in reporting
          input_dataset : bool
              Include input dataset data table
          summary_table : bool
              Include model summary table
          recommendation_details : bool
              Include model recommendation details table
          recommended_model : bool
              Include the recommended model output and dose-response plot, if
              one exists
          all_models : bool
              Include all models output and dose-response plots
  
          Returns
          -------
          None.