/osuman

LLM agent for data analysis of observational clinical study

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

OSUMAN

Clinical data analytics agent

Installation

  1. Install Python dependencies
pip install -r requirements.txt
  1. Install R according to the corresponding operating system.

  2. Install IRkernel in R command line

install.packages('IRkernel')
IRkernel::installspec()
  1. Install tidyverse
install.packages('tidyverse')

(If the installation fails under Linux, please refer to: https://medium.com/@jamie84mclaughlin/installing-r-and-the-tidyverse-on-ubuntu-20-04-60170020649b)

Run

  • Add "model_name" to the config.py file.
  • Copy . env. example to . env, then modify "OPENAI-API_KEY" or "DASHSCOPE.API_KEY".
streamlit run webui.py