Skip to content

Langchain Chatbot/Langchain_Pinecone_Indexing_.ipynb NO MORE WORKING #5

Description

@FERREIRA-Thomas

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions