Skip to main content

CREA

CREA is designed to be a Collaborative Failure-aware REasoning Agent for Biomedical AutoML.

Quick Start

Setup environment

We recommend using uv to manage the environment and dependencies.

  1. Install uv (if you haven't already):
pip install uv

or using the standalone installer:

curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Create a virtual environment with Python 3.11:
uv venv --python 3.11
source .venv/bin/activate  # On Windows use: .venv\Scripts\activate
  1. Install dependencies:
uv pip install -r requirements.txt
uv pip install -e .
  1. Set up API keys: Set up your private API key for OPENAI-compatible endpoints:
export OPENAI_BASE_URL="<your base url>" # (e.g. https://api.openai.com/v1)
export OPENAI_API_KEY="<your key>"

Setup knowledge base for RAG Tool

You can create the knowledge base with create_rag_db.sh. For MONAI-1.4.0, you can also download from Huggingface.

You could use this command to check whether the creation succeeds.

python -m crea.monai_rag.query_rag_db

Test with Example Dataset

You can download the example dataset from Huggingface. Download command:

hf download blueyo0/organmnist3d --local-dir dataset/organmnist3d --repo-type dataset

Then run the quick_start.sh to test:

bash quick_start.sh

🙏 Acknowledgement

  • We thank all medical workers and dataset owners for making public datasets available to the community.
  • Thanks to the open-source of the following projects, our code is developed based on their contributions:

Metadata

Release files for crea-med 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crea-med 0.0.3
File Size Uploaded Provenance Actions
crea_med-0.0.3.tar.gz 44.1 kB Without provenance Details for crea_med-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crea-med 0.0.3
File Interpreter ABI Platform Actions
crea_med-0.0.3-py3-none-any.whl Python 3 none any Details for crea_med-0.0.3-py3-none-any.whl

Total release size: 99.4 kB

Release files / crea_med-0.0.3.tar.gz

Download URL crea_med-0.0.3.tar.gz
Size 44.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0a553a327eb8207dbd3a8892d2266fe9066cec7629240cfaf964eba49a71f4c0
BLAKE2b-256 checksum
How to use checksums
adc34581a0aa67f1a9291699bb8cbfe8dfb355837654e8dd392f7afd552c51e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / crea_med-0.0.3-py3-none-any.whl

Download URL crea_med-0.0.3-py3-none-any.whl
Size 55.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee7b45ef6b0cfb569e0cfcbe7689d448a66159d9e84fb6b11a33eae11c5fd555
BLAKE2b-256 checksum
How to use checksums
ef1852a6df45efaa5f9ed82cba6a81b0e897583a8d7b30b2bca6e53e80cf8864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Security for crea-med 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page