fix: correct Pinecone import statement
Browse files
rag.py
CHANGED
|
@@ -10,7 +10,7 @@ from langchain_classic.chains import RetrievalQA
|
|
| 10 |
from langchain_core.prompts import PromptTemplate
|
| 11 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 12 |
from langchain_community.vectorstores import Pinecone as LangchainPinecone
|
| 13 |
-
import Pinecone as PineconeClient
|
| 14 |
|
| 15 |
logger = logging.getLogger(__name__)
|
| 16 |
|
|
|
|
| 10 |
from langchain_core.prompts import PromptTemplate
|
| 11 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 12 |
from langchain_community.vectorstores import Pinecone as LangchainPinecone
|
| 13 |
+
from pinecone import Pinecone as PineconeClient
|
| 14 |
|
| 15 |
logger = logging.getLogger(__name__)
|
| 16 |
|