Skip to content

abeuscher/vue-ai-example

Repository files navigation

Medical AI Assistant Demo

This demonstration showcases the integration of OpenAI with Trustee® Community and NOSH, enabling AI queries using a health Timeline as context. The demo utilizes the GNAP (Grant Negotiation and Authorization Protocol) for secure connections between components. You can view a Demo Video Here.

Overview

The primary purpose of this demo is to illustrate how a suite of open-source software, centered around the Trustee Authorization Server and the NOSH Resource Server, can be used to securely share health information from a patient-controlled Electronic Health Record (EHR) as system data in a conversation with an AI.

Prerequisites

Environment Variables

The MAIA App requires the following environment variables:

  • VITE_ORG_ID: App ID. Can be any value.
  • VITE_PROJECT_ID: Project ID. Can be any value.
  • VITE_OPENAI_API_KEY: Your OpenAI API key.
  • GEMINI_API_KEY: Your Gemini API key.
  • MISTRAL_API_KEY: Your Mistral API key.
  • TOGETHER_API_KEY: Your Together API key.

Make sure to set these variables before running the MAIA App.

Troubleshooting

If the MAIA app experiences a failure, you may need to delete the cookies it sets during its function. MAIA sets two values:

  • In SessionStorage, the value "gnap"
  • In LocalStorage, the value "noshuri"

This should help the app to relaunch properly from NOSH.

Change MAIA

  1. The repo can be forked and added. Please see requirements above. This allows you to create your own version of MAIA for customization and development.

  2. When you have a candidate, you can edit your MAIA URL in NOSH in order to test it against the app. This step enables you to integrate your custom MAIA version with the NOSH system for testing. Note: This change is made locally, so if you want to test on a separate machine, you will need to edit the MAIA url there as well. The data is saved to localStorage.

    Change MAIA URL

Resources

Software Repositories:

Patient-Centered Domain

MAIA Domain

For further instructions, details, and challenge specifics, please visit: Challenge Details

Contact

For questions or assistance, please contact: info@hieofone.com

License

This project is licensed under the MIT License. See the LICENSE file in the root directory of this project for the full license text.

About

A small app for connecting to openai and keeping track of a conversation thread

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors