Loading exercise...

Exercise: Fill a Prompt Template

Avatar image for Abhinav Bijish

Abhinav Bijish on July 17, 2026

Will this tutorial be updated for LangChain v1?

Avatar image for Bartosz Zaczyński

Bartosz Zaczyński RP Team on July 19, 2026

Thanks for asking, @Abhinav Bijish. LangChain 1.0 did go generally available back in October 2025 (it’s on the 1.x line now), so it’s a fair thing to wonder about.

The good news is that the core building blocks this course teaches still work on LangChain v1. I tested them on the latest release (langchain 1.3), and prompt templates behave exactly as shown in these lessons:

from langchain_core.prompts import ChatPromptTemplate

template = ChatPromptTemplate.from_template("Tell me a {adjective} joke about {topic}.")
template.invoke({"adjective": "funny", "topic": "chickens"})

The chaining parts hold up too. ChatOpenAI from langchain_openai, the LCEL pipe syntax (prompt | model | parser), and StrOutputParser all still work the same way, so you can follow along on a current install without changes.

The larger v1 changes land in areas this intro course doesn’t cover. They mostly affect agents (the new create_agent built on LangGraph) and the older chain helpers like LLMChain, which have moved to a separate langchain-classic package. If you’re curious, the official migration guide has the details.

As for a formal refresh, I can’t promise a timeline, but I’ll pass your question along to the rest of the team so we can review the course against v1.

Become a Member to join the conversation.