Backend library for conversational AI in biomedicine
Project description
BioChatter
| License | Python | ||
| Package | Build status | ||
| Tests | Docker | ||
| Development | Contributions |
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
-
BioChatter Light - Simple Python frontend (repo)
-
BioChatter Next - Advanced Next.js frontend (repo)
-
BioChatter Server - RESTful API server
📖 Learn more in our paper.
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.
🤝 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:
- Disable Git LFS smudge globally (set once for all repositories):
git lfs install --skip-smudge
git clone https://github.com/biocypher/biochatter.git
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biochatter-0.14.0.tar.gz.
File metadata
- Download URL: biochatter-0.14.0.tar.gz
- Upload date:
- Size: 91.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.10 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e096e17c08a0fcfd15fc7a3f6fae71ac84e68cc4e35d3aeba7e677cc4b049bb5
|
|
| MD5 |
c22ba01ac59c78e29bff01b131664ff9
|
|
| BLAKE2b-256 |
3d8ba7f62241442132c39ee0d7051eefad8ccdfd0385981bab663488a4fd7a0c
|
File details
Details for the file biochatter-0.14.0-py3-none-any.whl.
File metadata
- Download URL: biochatter-0.14.0-py3-none-any.whl
- Upload date:
- Size: 120.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d268829247bb986552a3bbd033be6a1c7ee3820b2e1af74b69c29ef6c2b7bc9
|
|
| MD5 |
1f892a5746c60b3d56c1396bf81c2367
|
|
| BLAKE2b-256 |
8d81217ebe69618bb751500c5cdcc61150fd23e9c92d78f3f984bf06320fd42a
|