A div with id "geminiChat" was created, below, as the target for the chat function. In this bare bones application, the URL to the reference document will be picked up from the location search. See for example from TCGA reports:

  • TCGA-BP-5195.25c0b433-5557-4165-922e-2c1eac9c26f0,
  • TCGA-D7-8573.b7306a47-697d-4ed3-bbe1-81d49674a8f8,
  • TCGA-EI-7004.13591eed-30e5-47a3-91be-7a370663d2d4,
  • And two example, from the description of DCEG Connect cohort study, and from the wiki of its analytics group:

  • connectStudy
  • CdmSurveySubWg, from 10-28-2024 to 02-05-2024

  • [This is the DOM elementElement of your choice for assembling the chat interface]