-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated chain #306
Remove deprecated chain #306
Conversation
Awesome, I'll confirm this works and make this a breaking release since .run interface won't be available anymore |
Hey @eyurtsev, Do let me know if any changes need to be made from my side. Cheers, |
Hey @eyurtsev Are we looking at a new release with this merge? Cheers, |
Yep, but there are a few remaining issues to resolve. I'm updating the documentation right now. I deprecated verbose functionality, and looking at how to get the prompt out of the chain since we lost that |
Maybe |
The context needs to be set at chain run time rather than chain creation time. The best way to do this with runnables is by passing a callback or langchain_core.globals.set_verbose / set_debug. |
Released #311 |
Thanks for your help! |
Hey @eyurtsev
Here are the listed changes:
LLMChain
andarun
and instead replaced them withRunnableSequence
andainvoke
respectively, Added set_verbose context to set the verbosity within the context of a function to mimic the oldchain_kwargs
verbose functionality.LLMChain
, mimiclangchain.verbose
withget_verbose()
Please let me know if any changes need to be made. Merging this fixes #305.
Cheers,
Sachin