vv.mp4
This repository provides the tools and code necessary for exploring MIMIC-IV data using Large Language Models (LLMs) and Open-WebUI, a web-based user interface for data exploration.
Before you begin, ensure that the MIMIC-IV data is set up in DuckDB. Follow the instructions provided here.
To run the application, execute the following command in your terminal:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway \
-v /path/to/local/MIMIC_DATA:/app/local_data \
-v mimicai:/app/backend/data \
-v ./db:/app/db \
--name mimicai --restart always buntha/mimicai:latest
Replace /path/to/local/MIMIC_DATA
with the actual path to your local MIMIC data directory.
- Start the Docker Container: Once the Docker container is running, you can access the user interface at http://localhost:3000.
- Start Ollama Locally: Ensure that Ollama is started locally. In future releases, a Docker Compose file will be provided to start Ollama automatically.
- Login: On your first visit, you will need to sign up and log in.
- Set Up Workspace:
- Navigate to the Workspace section.
- Select
Tools
->Open-WebUI
. - Import tools from the
tools
folder.
- Configure API Keys: If you have API keys for other models, add them in the settings.
- System Settings: Go to
Settings
and configure the system settings. You can refer to a sample setting provided insample/system_settings.md
. - Start Exploring: Create a new chat and begin exploring the MIMIC data.
This detailed guide should help you set up and run MIMIC-AI seamlessly. For any additional information or troubleshooting, please raise bugs or issues in the repository.
- You can ignore Tools and enable Pipeline
- Start the pipeline by starting docker image
- Go to the open-webui and go to admin > Settings > Admin Settings > Pipelines
- Upload Pipeline by selecting the pipeline file from the pipelines folder
- Once loaded, update OPEN API url, key, task model and mimic duckdb path
Once Pipeline is integrated, you need not to explain any tool explicitly. Just start the pipeline and it will automatically start the tools and provide the results.