Can we get updated notebooks using LCEL?

Hi

looks like the notebooks are using legacy code and not the latest LCEL.
It is confusing as the syntax can be different for example chain.run vs chain.invoke or doing prompt+llm for chaining in LCEL.

Thanks

It is impossible to follow the lectures with legacy code. Even using ChatGPT is not very helpful as it constantly needs to be pointed in the correct direction and I keep on getting errors left and right. I will just try to jump to the intermediate courses where the code should be up to date. Or just skip langchain alltogether if this continues. Luckily there is choise between the frameworks :slight_smile:

Lagacy method is no logner used nowadays in LangChain community. In addition, the codes in the old (the first) LangChain short course are also somewhat outdated. I recommend you refer to codebooks introduced in the official LangChain homepage. They are providing a lot of good notebook codes with explanations.

1 Like

Thanks for the reply Taekyo.
Would you still recommend a beginner+ level person to passively watch the videos or just skip them and watching other videos. Trying to basically build the code from their homepage is a bit too much work for me at this point.

Hi Laukkanen,

I definitely recommend watching beginner-level LangChain videos on YouTube or other platforms. As you mentioned, merely following along with the code can be quite challenging for beginners. However, it’s important to select videos that incorporate LCEL material. Specifically, avoid outdated versions; if they don’t mention terms like ‘LCEL,’ ‘runnables,’ or don’t employ the LCEL syntax, such as A | B | C, they are likely too outdated.

If you need further advice, don’t hasitate to ask me again.

Tae-kyo

1 Like