Skip to content

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

Open
@nairajay2k

Description

@nairajay2k

Is this a new bug?

  • I believe this is a new bug
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions