Raki is a platform to extract structured information from medical reports of intervention and diagnostic procedures.
-
Make sure you have Docker and Docker Compose installed on your system.
-
Start the application:
docker-compose up
This will start both the backend service (on port 8000) and the frontend service (on port 3000).
Make sure you have Python 3.12+ installed.
- Install uv:
pip install uv
- Navigate to the backend directory:
cd projects/llm_backend/
- Create a virtual environment and install dependencies:
uv venv
. .venv/bin/activate # For Unix-like systems
# or
.\.venv\Scripts\activate # For Windows
uv sync
- Navigate to the backend app directory:
cd app
- Create executable:
pyinstaller -F main.py --clean --hidden-import=pydantic --hidden-import=pydantic-core --hidden-import=pydantic.deprecated.decorator
- Append OS-specific suffix to the executable in
dist/
directory:
- Linux:
-x86_64-unknown-linux-gnu
- macOS:
-aarch64-apple-darwin
- Windows:
-x86_64-pc-windows-msvc
- Navigate to the frontend directory:
cd projects/frontend
- Install dependencies:
yarn
-
Install Rust Make sure you have Rust installed on your system. You can install it from https://www.rust-lang.org/tools/install
-
Run the app:
For web development mode:
yarn dev
For desktop development mode:
yarn tauri dev
- Navigate to the backend directory:
cd projects/llm_backend
- Create a virtual environment and install dependencies:
uv venv
. .venv/bin/activate # For Unix-like systems
# or
.\.venv\Scripts\activate # For Windows
uv sync
- Run the development server:
uvicorn app.main:app --reload --port 8000
- First build the backend executable (if not already done):
cd projects/llm_backend/app
pyinstaller -F main.py --clean --hidden-import=pydantic --hidden-import=pydantic-core --hidden-import=pydantic.deprecated.decorator
Don't forget to append the OS-specific suffix to the executable in dist/
directory.
- Build the desktop application:
cd projects/frontend
yarn tauri build
The bundled application will be available in src-tauri/target/bundle
Excalidraw: https://excalidraw.com/#json=yQBFTY2Es-D9PvV2uUigK,-VK_8ZYhWF8_FpJjFTOC6A