examples icon indicating copy to clipboard operation
examples copied to clipboard

[Bug] Issue with learn/generation/llm-field-guide/llama-2/llama-2-13b-retrievalqa.ipynb

Open nairajay2k opened this issue 1 year ago • 0 comments

Is this a new bug?

  • [X] I believe this is a new bug
  • [X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Getting ImportError: cannot import name 'Pinecone' from 'pinecone'
on both colab and local machine

Expected Behavior

Given example should work fine and not break

Steps To Reproduce

Just run the notebook on colab

Relevant log output

We have 2 doc embeddings, each with a dimensionality of 384.
Traceback (most recent call last):
  File "/home/ajay/rag.py", line 26, in <module>
    from pinecone  import Pinecone
ImportError: cannot import name 'Pinecone' from 'pinecone' (/home/ajay/rag_venv/lib/python3.10/site-packages/pinecone/__init__.py)

Environment

- **OS**: ubuntu 22.04
- **Language version**: 3.10
- **Pinecone client version**: 2.2.2

Additional Context

No response

nairajay2k avatar Feb 27 '24 11:02 nairajay2k