Skip to content
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

Suggest example notebook update. Library moved. #268

Closed
bryanbarnard opened this issue Aug 29, 2023 · 2 comments
Closed

Suggest example notebook update. Library moved. #268

bryanbarnard opened this issue Aug 29, 2023 · 2 comments

Comments

@bryanbarnard
Copy link

bryanbarnard commented Aug 29, 2023

https://github.com/pinecone-io/examples/blob/a7b13d0feec0f1080106679cf6a31449732f9ebc/learn/generation/langchain/handbook/06-langchain-agents.ipynb#L342C5-L343C59

Libraray 'langchain.chains.SQLDatabaseChain' appears to have moved to 'langchain_experimental.sql.SQLDatabaseChain'

I made the following changes to make it work:

# from langchain.chains import SQLDatabaseChain
from langchain_experimental.sql import SQLDatabaseChain
@DosticJelena
Copy link
Contributor

Thank you for the note @bryanbarnard!
This issue has been resolved with the following PR: #264.

@bryanbarnard
Copy link
Author

Thanks @DosticJelena

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants