Skip to main content

Backend library for conversational AI in biomedicine

Project description

BioChatter

License License: Apache 2.0 Python Python
Package PyPI version Downloads DOI Build status CI Docs
Tests Coverage Docker Latest image Image size
Development Project Status: Active – The project has reached a stable, usable state and is being actively developed. Code style Ruff Contributions PRs Welcome Contributor Covenant

Description

🤖 BioChatter is a community-driven Python library that connects biomedical applications to conversational AI, making it easy to leverage generative AI models in the biomedical domain.

🌟 Key Features

  • Generic backend for biomedical AI applications
  • Seamless integration with multiple LLM providers
  • Native connection to BioCypher knowledge graphs
  • Extensive testing and evaluation framework
  • Living benchmark of specific biomedical applications

🚀 Demo Applications and Utilities

📖 Learn more in our paper (self-archived here).

Installation

To use the package, install it from PyPI, for instance using pip (pip install biochatter) or Poetry (poetry add biochatter).

Extras

The package has some optional dependencies that can be installed using the following extras (e.g. pip install biochatter[xinference]):

  • xinference: support for querying open-source LLMs through Xorbits Inference

  • podcast: support for podcast text-to-speech (for the free Google TTS; the paid OpenAI TTS can be used without this extra)

  • streamlit: support for streamlit UI functions (used in BioChatter Light)

Usage

Check out the documentation for examples, use cases, and more information. Many common functionalities covered by BioChatter can be seen in use in the BioChatter Light code base. Built with Material for MkDocs

🤝 Getting involved

We are very happy about contributions from the community, large and small! If you would like to contribute to BioCypher development, please refer to our contribution guidelines and the developer docs. :)

If you want to ask informal questions, talk about dev things, or just chat, please join our community at https://biocypher.zulipchat.com!

Imposter syndrome disclaimer: We want your help. No, really. There may be a little voice inside your head that is telling you that you're not ready, that you aren't skilled enough to contribute. We assure you that the little voice in your head is wrong. Most importantly, there are many valuable ways to contribute besides writing code.

This disclaimer was adapted from the Pooch project.

Git LFS Configuration

This repository uses Git LFS for some large files. If you're a developer and don't need to work with these files, you have two options:

  1. Disable Git LFS smudge globally (set once for all repositories):
git lfs install --skip-smudge
git clone https://github.com/biocypher/biochatter.git
  1. Skip LFS files for a one-time clone:
GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/biocypher/biochatter.git

Both options will prevent Git LFS from downloading the large files while still allowing you to work with the repository normally.

More information about LLMs

Check out this repository for more info on computational biology usage of large language models.

Citation

If you use BioChatter in your work, please cite our paper.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

biochatter-0.14.1.tar.gz (94.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biochatter-0.14.1-py3-none-any.whl (124.0 kB view details)

Uploaded Python 3

File details

Details for the file biochatter-0.14.1.tar.gz.

File metadata

  • Download URL: biochatter-0.14.1.tar.gz
  • Upload date:
  • Size: 94.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.10 Darwin/24.6.0

File hashes

Hashes for biochatter-0.14.1.tar.gz
Algorithm Hash digest
SHA256 d4b005c648818d2296a0f36001ae46e2eb5896afdf93d5ed891f0e99da636930
MD5 39eb4691b8ebc86f800cb3b29a83b8a1
BLAKE2b-256 08d4789ded87d603ab4f3adf41a1393bd4efd586902235bac917e6dbf84bf2b8

See more details on using hashes here.

File details

Details for the file biochatter-0.14.1-py3-none-any.whl.

File metadata

  • Download URL: biochatter-0.14.1-py3-none-any.whl
  • Upload date:
  • Size: 124.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.10 Darwin/24.6.0

File hashes

Hashes for biochatter-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ccc53103fad903aaf2d59e867bcf2c11c867df73a40e8a2b36db6d4db704be8
MD5 bde775e90e0493efb0b84c446acb5926
BLAKE2b-256 88afe61daf048ada8b20b8509242caa7ebf2a53e67f1b07201f96a5ce9cc8835

See more details on using hashes here.

Supported by

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