Can anyone resolve this error

index=Pinecone.from_documnets(doc,embeddings,index_name=index_name)
using this above code i am getting this error.

AttributeError Traceback (most recent call last) Cell In[33], line 1 ----> 1 index=Pinecone.from_documnets(doc,embeddings,index_name=index_name) AttributeError: type object ‘Pinecone’ has no attribute ‘from_documnets’

I believe this could be a typo in from_documnets