Skip to main content

A Jupyter-based assistant for data analysis tasks

Project description

bia-bob

BIA bob is a Jupyter-based assistant for interacting with data using generated python code. It is based on OpenAI's API. You need an openai API account to use it.

img.png

Usage

You can initialize Bob like this:

from bia_bob import bob

Afterwards, you can ask Bob questions like this:

%bob Load blobs.tif and show it

It will then respond with a python code snippet that you can execute (see full example):

from skimage.io import imread
import stackview

image = imread('blobs.tif')
stackview.insight(image)

img.png

Known issues

If you want to ask bob a question, you need to put a space before the ?.

%bob What do you know about blobs.tif ?

Installation

You can install bia-bob using pip. it is recommended to install it into via conda/mamba environment. If you have never used conda before, please read this guide first.

mamba create --name bt39 python=3.9 git
mamba activate bt39
pip install bia-bob

Similar projects

There are similar projects offering LLM-based support in Jupyter notebooks:

Issues

If you encounter any problems or want to provide feedback or suggestions, please create a thread on image.sc along with a detailed description and tag [@haesleinhuepf].

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bia-bob-0.3.0.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

bia_bob-0.3.0-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page