← Back to changelog
April 8, 2024
Support for LangChain async, batch and streaming interfaces
Max Deichmann
With this release, Langfuse Tracing integrates natively with all LangChain interfaces on Python and JS.
Available as of v2.22.0 (opens in a new tab) of the Langfuse Python SDK. Check out the integration docs for more details on how to use Langfuse with LangChain.
Thanks to @noble-varghese (opens in a new tab) for your contribution on this!
Overview of supported Langchain interfaces
Feature/interface | Python | JS/TS |
---|---|---|
LCEL | ✅ | ✅ |
invoke() | ✅ | ✅ |
run() | ✅ | ✅ |
call() | ✅ | ✅ |
predict() | ✅ | ✅ |
async | ✅ | ✅ |
batch() | ✅ | (✅) |
streaming | ✅ | ✅ |