gkamradt / langchain-tutorials

Overview and tutorial of the LangChain Library
6.63k stars 1.92k forks source link

The class CallbackManager had moved from langchain.callbacks.base to langchain.callbacks.manager #38

Closed sun-shining closed 1 year ago

sun-shining commented 1 year ago

When I ran the code for 'With Streaming' in ChatAPI + LangChain Basics.ipynb, I encountered an error: 'cannot import name 'CallbackManager' from 'langchain.callbacks.base'.' Upon further investigation in the LangChain documentation, I discovered that the package containing CallbackManager has been modified.

gkamradt commented 1 year ago

Updated!