← Back to changelog
November 13, 2023

Support for Langchain Expression Language (LCEL)

Picture Marc KlingenMarc Klingen
Support for Langchain Expression Language (LCEL)

LangChain Expression Language, or LCEL, is a declarative way to easily compose chains together. Langfuse natively supports the new expression language.

To use Langfuse, simply add the callback handler to the invoke method:

chain.invoke(input, config={"callbacks":[handler]})

See Langchain integration docs for full details.

Was this page useful?

Questions? We're here to help

Subscribe to updates