Skip to main content

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

Download files

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

Source Distribution

zizkadb_langchain-0.1.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

zizkadb_langchain-0.1.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file zizkadb_langchain-0.1.3.tar.gz.

File metadata

  • Download URL: zizkadb_langchain-0.1.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for zizkadb_langchain-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a150e0c05d07798999a8bf6321a8d400a75cd152ae7ee03a06f7fd588ffa303e
MD5 dc1edc68765e84e4ceb08ff48d9d43bf
BLAKE2b-256 2c2319afaa8cc6a13a5a1c9da94da9b0948c757a6a565e6cb9467d863b004954

See more details on using hashes here.

File details

Details for the file zizkadb_langchain-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for zizkadb_langchain-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7ab7b45d48694fe10d0a881df967410cac3dddc5b4a031ac7a22646a71341e9a
MD5 08aaf563818cf74ca2c39ba99af4abca
BLAKE2b-256 62bdfcc4c67867d4b8c8b94afc208c862d59393218d174a7fc0355085f0148ca

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page