From ce0ce7c78e6cc87dc59f3ab279dc3b071e8e43f4 Mon Sep 17 00:00:00 2001 From: "Steve L. Nyemba" Date: Wed, 19 Mar 2025 20:36:02 +0000 Subject: [PATCH] Upload files to "/" --- about.html | 25 +++++++ documents.html | 38 ++++++++++ index.html | 174 +++++++++++++++++++++++++++++++++++++++++++++ qcms-manifest.json | 50 +++++++++++++ requirements.txt | 7 ++ 5 files changed, 294 insertions(+) create mode 100644 about.html create mode 100644 documents.html create mode 100644 index.html create mode 100644 qcms-manifest.json create mode 100644 requirements.txt diff --git a/about.html b/about.html new file mode 100644 index 0000000..6c28d4f --- /dev/null +++ b/about.html @@ -0,0 +1,25 @@ + +
+
+

Vanderbilt University Medical Center

+
+

+ +

+
+
+
+ {{layout.header.title}}, empowers patients with answers to questions they may have around kidney transplant care and other related conditions. + +
+ Click on the following: +
    +
    read response
    +
    supporting documents
    +
    delete question
    +
+
+
\ No newline at end of file diff --git a/documents.html b/documents.html new file mode 100644 index 0000000..ae8095c --- /dev/null +++ b/documents.html @@ -0,0 +1,38 @@ + + +
+
+
Documents
Page
+
+
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..c314d9f --- /dev/null +++ b/index.html @@ -0,0 +1,174 @@ + + + +
+
+
+
+
+
+ +
+
+
+
Submit
+
+
+
+
\ No newline at end of file diff --git a/qcms-manifest.json b/qcms-manifest.json new file mode 100644 index 0000000..3796dba --- /dev/null +++ b/qcms-manifest.json @@ -0,0 +1,50 @@ +{ + "system": { + "app": { + "debug": true, + "port": 8084, + "threaded": true, + "host": "0.0.0.0" + }, + "context": "medix-ai", + "logo": "www/html/_assets/images/logo.png", + "source": { + "id": "disk", + "key": "/home/steve/git/sites/medix/secure-key", + "llm":{ + "prompt":{ + "temperature":0.4, + "input_variables":["context","question"], + "template":"You ares medix-ai, and AI assistant! You only answer questions related healthcare and kidney transplant. Your answers are provided using simple english so non college educated people can understand. Decline to answer questions that aren't related to the context. Use the following context {context} to give a short answer (markdown format, spacing, line breaks, bullets) the following question: {question}" + }, + "openai":"/home/steve/git/llm/data/llm-keys/zhijun-args.json" + + + + } + }, + "theme": "default", + "version": "1.0" + }, + "layout": { + "footer": [ + + {"text":"Vanderbilt University Medical Center - Transplant Center"}, + {"text":"Designed & Built By HIPLAB"} + ], + "header": { + "title": "Medix-ai", + "subtitle": "Medical A.i Assitant, kidney transplant" + }, + "index": "index.html", + "on": { + "load": {"pane":["www/html/about.html"]} + }, + "order": { + "menu": [] + }, + "overwrite": {}, + "root": "www/html" + }, + "plugins": {"medix":["answer","info","audio"]} +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b0b64dc --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +langchain +langchain-community +langchain-ollama +langchain-openai +langchain-text-splitters +gtts +git+https://dev.the-phi.com/git/qcms/cms