gpt4dfci

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

https://github.com/dana-farber-aios/gpt4dfci

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.9%) to scientific vocabulary

Keywords

chatgpt gpt gpt-4 llmops operations research
Last synced: 6 months ago · JSON representation ·

Repository

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

Basic Info
  • Host: GitHub
  • Owner: Dana-Farber-AIOS
  • License: gpl-2.0
  • Language: TypeScript
  • Default Branch: main
  • Homepage:
  • Size: 2.54 MB
Statistics
  • Stars: 60
  • Watchers: 3
  • Forks: 9
  • Open Issues: 0
  • Releases: 1
Topics
chatgpt gpt gpt-4 llmops operations research
Created about 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

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!

innovation@dfci.harvard.edu

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

Owner

  • Name: Dana-Farber-AIOS
  • Login: Dana-Farber-AIOS
  • Kind: organization

AI Operations and Data Science Services group

Citation (CITATION.cff)

cff-version: 1.2.0
message: "Citation for this repository"
authors:
  - family-names: Umeton
    given-names: Renato
  - family-names: Kwok
    given-names: Anne
  - family-names: Maurya
    given-names: Rahul
  - family-names: Leco
    given-names: Domenic
  - family-names: Lenane
    given-names: Naomi
  - family-names: Willcox
    given-names: Jennifer
  - family-names: Abel
    given-names: Gregory
  - family-names: Tolikas
    given-names: Mary
  - family-names: Johnson
    given-names: Jason
title: "GPT-4 in a Cancer Center: Institute-Wide Deployment Challenges and Lessons Learned"
date-released: 2024-03-15
doi: 10.1056/AIcs2300191
url: https://github.com/Dana-Farber-AIOS/GPT4DFCI
preferred-citation:
  type: article
  authors:
      - family-names: Umeton
        given-names: Renato
      - family-names: Kwok
        given-names: Anne
      - family-names: Maurya
        given-names: Rahul
      - family-names: Leco
        given-names: Domenic
      - family-names: Lenane
        given-names: Naomi
      - family-names: Willcox
        given-names: Jennifer
      - family-names: Abel
        given-names: Gregory
      - family-names: Tolikas
        given-names: Mary
      - family-names: Johnson
        given-names: Jason
  doi: 10.1056/AIcs2300191
  journal: "NEJM AI"
  publisher: Massachusetts Medical Society
  month: 3
  year: 2024
  issue: 4
  volume: 1
  start: 10
  title: "GPT-4 in a Cancer Center: Institute-Wide Deployment Challenges and Lessons Learned"
  url: https://ai.nejm.org/doi/full/10.1056/AIcs2300191

GitHub Events

Total
  • Watch event: 7
  • Push event: 2
  • Fork event: 2
Last Year
  • Watch event: 7
  • Push event: 2
  • Fork event: 2

Dependencies

DFCI-GPT4DFCI-Backend/Dockerfile docker
  • python 3.10 build
DFCI-GPT4DFCI/package.json npm
  • @playwright/test ^1.35.1 development
  • @types/node ^20.2.5 development
  • @types/react ^18.0.37 development
  • @types/react-dom ^18.0.11 development
  • @typescript-eslint/eslint-plugin ^5.59.0 development
  • @typescript-eslint/parser ^5.59.0 development
  • @vitejs/plugin-react ^4.0.0 development
  • eslint ^8.38.0 development
  • eslint-plugin-react-hooks ^4.6.0 development
  • eslint-plugin-react-refresh ^0.3.4 development
  • prettier ^2.8.8 development
  • typescript ^5.0.2 development
  • vite ^4.3.9 development
  • @chakra-ui/react ^2.7.0
  • @emotion/react ^11.11.1
  • @emotion/styled ^11.11.0
  • @fontsource-variable/inter ^5.0.3
  • @fontsource/inter ^5.0.3
  • framer-motion ^10.12.16
  • lucide-react ^0.244.0
  • react ^18.2.0
  • react-dom ^18.2.0
DFCI-GPT4DFCI/yarn.lock npm
  • 396 dependencies
DFCI-GPT4DFCI-Backend/poetry.lock pypi
  • aiohttp 3.8.5
  • aiosignal 1.3.1
  • annotated-types 0.5.0
  • anyio 3.7.1
  • async-timeout 4.0.3
  • attrs 23.1.0
  • azure-core 1.29.2
  • azure-cosmos 4.5.0
  • azure-identity 1.14.0
  • black 23.7.0
  • certifi 2023.7.22
  • cffi 1.15.1
  • charset-normalizer 3.2.0
  • click 8.1.6
  • colorama 0.4.6
  • cryptography 41.0.3
  • exceptiongroup 1.1.3
  • fastapi 0.101.1
  • frozenlist 1.4.0
  • gunicorn 21.2.0
  • h11 0.14.0
  • httpcore 0.17.3
  • httptools 0.6.0
  • httpx 0.24.1
  • idna 3.4
  • iniconfig 2.0.0
  • msal 1.23.0
  • msal-extensions 1.0.0
  • multidict 6.0.4
  • mypy 1.5.1
  • mypy-extensions 1.0.0
  • openai 0.27.8
  • packaging 23.1
  • pathspec 0.11.2
  • platformdirs 3.10.0
  • pluggy 1.3.0
  • portalocker 2.7.0
  • pycparser 2.21
  • pydantic 2.1.1
  • pydantic-core 2.4.0
  • pyjwt 2.8.0
  • pytest 7.4.0
  • python-dotenv 1.0.0
  • pywin32 306
  • pyyaml 6.0.1
  • requests 2.31.0
  • ruff 0.0.284
  • six 1.16.0
  • sniffio 1.3.0
  • starlette 0.27.0
  • tomli 2.0.1
  • tqdm 4.66.1
  • typing-extensions 4.7.1
  • urllib3 2.0.4
  • uvicorn 0.23.2
  • uvloop 0.17.0
  • watchfiles 0.19.0
  • websockets 11.0.3
  • yarl 1.9.2
DFCI-GPT4DFCI-Backend/pyproject.toml pypi
  • black ^23.7.0 develop
  • httpx ^0.24.1 develop
  • pytest ^7.4.0 develop
  • ruff ^0.0.284 develop
  • azure-cosmos ^4.5.0
  • azure-identity ^1.14.0
  • fastapi ^0.101.1
  • gunicorn ^21.2.0
  • mypy ^1.5.1
  • openai ^0.27.8
  • python ^3.10
  • python-dotenv ^1.0.0
  • uvicorn ^0.23.2