YUNOVA · AI Agents · Module 11: LangChain and LangGraph

Chains and runnables

Notes for offline study · 30 November 2026

Chains and runnables

Key points

  • LangChain में Runnable एक साझा interface है, जिसमें invoke, batch और stream जैसे methods होते हैं।
  • Prompt, model और output parser सभी Runnables हैं और इन्हें जोड़कर chain बनती है।
  • LCEL में | (pipe) operator से Runnables जोड़े जाते हैं, जैसे prompt | model | parser।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.