GUI for early user testing of OncoLlama V3. Uses dearpygui.
- Python 3.10+ is required (the
openpipedependency uses 3.10+ type syntax). - Recommended: Python 3.11.
- Install pyenv:
git clone https://github.com/pyenv/pyenv.git ~/.pyenv - Add to your shell (zsh). Append to
~/.zshrc:export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)"
- Reload shell and install build tools:
source ~/.zshrc xcode-select --install
- Install and set Python 3.11 for this project:
pyenv install 3.11.8 pyenv local 3.11.8 #run this in the project directory
- Create a virtual environment with the correct Python:
python -m venv .venv source .venv/bin/activate python --version # should show 3.11.8
- Obtain API key and add to .env file
- Run
pip install -r requirements.txtin a virtual environment.- This will also install the
oncollamaschemav3 from JTpath/Pathollamaschemav3package
- This will also install the
- Run
python main.py - If the API returns an error, please retry
The /examples folder contains samples for testing, designed to challenge the model using ambiguous or poor data quality examples
Please report any bad outputs or edge cases to the project team
Note: The configured endpoints in endpoints.yaml are OncoLlama models; the schema/prompt is histopathology-focused, so occasional schema mismatch/validation failures are expected.