zizkadb-langchain
PyPI: zizkadb-langchain 0.1.3
LangChain AsyncCallbackHandler that logs LLM and tool steps to ZizkaDB with parent_id lineage.
pip install zizkadb-sdk zizkadb-langchain langchain-openai
from langchain_openai import ChatOpenAI
from langchain_core.messages import HumanMessage
from zizkadb import ZizkaDB
from zizkadb_langchain import ZizkaDBCallbackHandler
async with ZizkaDB("zizkadb_live_...") as db:
handler = ZizkaDBCallbackHandler(db, agent="my-bot")
llm = ChatOpenAI(model="gpt-4o-mini")
await llm.ainvoke([HumanMessage(content="Hello")], config={"callbacks": [handler]})
(await db.why(handler.last_event_id)).print()
Monorepo dev install:
pip install -e sdk/python -e integrations/langchain
Release files for zizkadb-langchain 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zizkadb_langchain-0.1.3.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zizkadb_langchain-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / zizkadb_langchain-0.1.3.tar.gz
| Download URL | zizkadb_langchain-0.1.3.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a150e0c05d07798999a8bf6321a8d400a75cd152ae7ee03a06f7fd588ffa303e
|
|
BLAKE2b-256 checksum How to use checksums |
2c2319afaa8cc6a13a5a1c9da94da9b0948c757a6a565e6cb9467d863b004954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / zizkadb_langchain-0.1.3-py3-none-any.whl
| Download URL | zizkadb_langchain-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ab7b45d48694fe10d0a881df967410cac3dddc5b4a031ac7a22646a71341e9a
|
|
BLAKE2b-256 checksum How to use checksums |
62bdfcc4c67867d4b8c8b94afc208c862d59393218d174a7fc0355085f0148ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|