pinecone-io / examples

Jupyter Notebooks to help you get hands-on with Pinecone vector databases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggest example notebook update. Library moved.

bryanbarnard opened this issue · comments

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

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