/GPT4DFCI

A private and secure generative AI tool, based on GPT-4 and deployed for non-clinical use at Dana-Farber Cancer Institute

Primary LanguageTypeScriptGNU General Public License v2.0GPL-2.0

GPT4DFCI 🤖

Welcome to the code repository for GPT4DFCI, a private and secure generative AI tool, based on GPT-4 and deployed for non-clinical use at Dana-Farber Cancer Institute.

ℹ️ Tool requirements, usage policy, and training material are overseen by the broader Dana-Farber AI Governance Committee. The development of this tool is led by the Dana-Farber Informatics & Analytics Department.

This repository is organized in the following sections:

  • Manuscript & policy details accompanying this tool

  • Training material for the users

  • Front-end code - this is the application where the users place their queries and read the output

  • Back-end code that handles all requests from the application and routes all requests to other components

  • Infrastructure that was used to deploy this

  • GPT4DFCI API client - to use GPT4DFCI programmatically, within your application

  • License

  • Contact

📄 Manuscript & policy

👉 Manuscript PDF and Supplementary appendix

Further material about this tool adoption is available on NEJM AI.

📣 Continue reading on Dana-Farber press release.

🧑‍🎓 Training

👉 Here you will find the training material that accompanied this tool deployment.

💻 GPT4DFCI Front-end Code

👉 Code & instructions are in the DFCI-GPT4DFCI folder.

⌨ GPT4DFCI Backend Code

👉 Code & instructions are in the DFCI-GPT4DFCI-Backend folder.

🏗️ GPT4DFCI Infrastructure

image

👉 Code & instructions are in the DFCI-GPT4DFCI-infra folder.

🔌 API Usage

image

👉 Code & instructions are in the GPT4DFCI API code repository.

🎫 License

The GNU GPL v2 version of GPT4DFCI is made available via Open Source licensing. The user is free to use, modify, and distribute under the terms of the GNU General Public License version 2.

Commercial license options are available also, and include these additional features:

  • Accurate per-user monthly billing, based on actual Azure OpenAI token consumption
  • Log analytics to monitor application status and application adoption by the user base
  • Log analytics to detect and monitor power users and possibly malicious behavior (e.g., jailbreaking attempts)
  • Load balancing and retry logic to mitigate Azure OpenAI quota limits and ensure a smooth user experience

📧 Contact

Questions? Comments? Suggestions? Get in touch!

aios@dfci.harvard.edu

Dana-Farber personnel: please contact us through the dedicated ticketing system.