## What was reported
Issue pinecone-io/python-sdk#388 (closed, 5 comments): ---
- [x] I believe this is a new bug
- [x] I have searched the existing Github issues and Community Forum, and I could not find an existing post for this bug
**Describe the bug**
When attempting to create an embedding using Pinecone in a Google Colab notebook, an `AttributeError` is raised. The functionality that was working previously to generate embeddings from text chunks is now broken.
**Error information**
The full stack trace of the error is as follows:
```
AttributeError Traceback (most recent call last)
[ipython-input-18-dbd3c6635021] in <cell
## The verified resolution
[mcpaddy (commenter)]: `from_texts` is not a pinecone SDK function at all - it belongs to LangChain (`langchain_pinecone.PineconeVectorStore.from_texts()`). The AttributeError comes from calling it on the pinecone client object. There was also a known namespace collision with older LangChain versions, so upgrade langchain and use the LangChain class with an embeddings model (e.g. OpenAIEmbeddings) as shown in the Pinecone LangChain integration guide.