Chainlit / cookbook

Chainlit's cookbook repo
https://github.com/Chainlit/chainlit
747 stars 276 forks source link

Please update to latest Langchain usage. #109

Closed atljoseph closed 3 weeks ago

atljoseph commented 5 months ago

This repo is months behind the main one, and months behind Langchain.

Langchain’s acall is deprecated and should use ainvoke, which works differently.

@cl.step decorator is broken. Using acall, it worked. Using ainvoke, nothing. It’s a black box :/

I can’t think of a worse way to introduce a product to someone than to tell them how awesome a new thing is, and then throw old and misleading info at them.

Also, langgraph examples would be nice.

constantinidan commented 3 weeks ago

Totally right. Updating them.