🍞 Toast Blog · 简单的李 RSS
🧩

LangChain LCEL 表达式语言

基础管道

chain = prompt | model | StrOutputParser()
result = chain.invoke({"language":"Python"})