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.

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.2.tar.gz (94.8 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.2-py3-none-any.whl (124.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: biochatter-0.14.2.tar.gz
  • Upload date:
  • Size: 94.8 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.2.tar.gz
Algorithm Hash digest
SHA256 9d594d15ef0d254fbd85bbbf49b80457ce7122a7e515e3910c8b3a30de8ab5ac
MD5 f1992bcedd1af9354cb219a85e4f67e6
BLAKE2b-256 32f3d53226e8650b5ecce0c667ccd9cb83dfdbfa5b3a18d0227d229397f91d82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: biochatter-0.14.2-py3-none-any.whl
  • Upload date:
  • Size: 124.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6fbd3027e846fd90ec959d8ece3f38ff68c146e1554a8112a82890ab5cfeed47
MD5 fb6ce7c3a76e6fce4a1df60c42568fe9
BLAKE2b-256 59f19564744130bbe8e5cf192a6ec68231868c561e29289ac3fae16ff210a7b5

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