bio_reasoning.layers.b.utils module#

bio_reasoning.layers.b.utils.load_image_data(uri: str) str[source]#

Load image data and return either as base64 encoded string (for local files) or direct URL (for remote resources).

Parameters:

uri – Image URI (file path or URL)

Returns:

Either a base64 encoded string (local files) or direct URL (remote resources)