Skip to content

LangChain Expression Language (LCEL)

  • It's new syntax introduced to simplify the creation of chains in LangChain applications
chain: Runnable = prompt_template | model
chain: Runnable = prompt_template.__or__(model) # same