ipylangchat 🤖💬
A minimal Chat UI Jupyter Widget for language models. Built with anywidget 💪.
Lets you talk to a LangChain runnable or agent, such as a conversational RAG, directly in a Jupyter environment (Notebook, Lab, Google Colab, VSCode). No need to serve a web application.
See the RAG example notebook.
Usage
Right now, the widget accepts a chain using a prompt template that takes in human input and keeps track of chat history. See the langchain docs and our example of a conversational RAG on the anywidget documentation.
import ipylangchat
ipylangchat.ChatUIWidget(chain)
Installation
pip install ipylangchat
Development installation
Create a virtual environment and and install ipylangchat in editable mode with the optional development dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
Open example.ipynb in JupyterLab, VS Code, or your favorite editor
to start developing. Changes made in src/ipylangchat/static/ will be reflected
in the notebook.
Metadata
Release files for ipylangchat 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ipylangchat-0.0.2.tar.gz | 109.8 kB | Without provenance | Details for ipylangchat-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ipylangchat-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ipylangchat-0.0.2-py2.py3-none-any.whl |
Total release size: 115.1 kB
Release files / ipylangchat-0.0.2.tar.gz
| Download URL | ipylangchat-0.0.2.tar.gz |
|---|---|
| Size | 109.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d04660080f6c3321745326630f8756a51f0a614493f4591ace7cefc8933b2fd
|
|
BLAKE2b-256 checksum How to use checksums |
a9fa1bdc6f8ae28238f3a7f0bd5ebed7280b461cf12c74f72288b64ed87af9ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / ipylangchat-0.0.2-py2.py3-none-any.whl
| Download URL | ipylangchat-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
491815b4b985e06235f69da4db665aca0333939e68d11cfebbcc81cc5e29c857
|
|
BLAKE2b-256 checksum How to use checksums |
49a5143a123f913d4c740b26e9216e09a7ff53b7176c66bc004431f2d93cd7c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for ipylangchat 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.