-
Notifications
You must be signed in to change notification settings - Fork 380
Open
Description
Hi !
I followed your youtube tutorial few month ago about Chatbot Answering from Your Own Knowledge Base: Langchain, ChatGPT, Pinecone, and Streamlit everythings was working until the last few day.
In fact, Pinecone has changed a few day ago their packages. There is a new version of pinecone, in fact this cell in the notebook is no more working:
import pinecone
from langchain.vectorstores import Pinecone
initialize pinecone
pinecone.init(
api_key="", # find at app.pinecone.io
environment="us-east-1-aws" # next to api key in console
)
index_name = "langchain-chatbot"
index = Pinecone.from_documents(docs, embeddings, index_name=index_name)
AttributeError: init is no longer a top-level attribute of the pinecone package.
Did someone have a solution ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels