Spaces:
Sleeping
Sleeping
Commit ·
f25f9a2
1
Parent(s): b222141
added book
Browse files- src/helper.py +2 -1
src/helper.py
CHANGED
|
@@ -20,7 +20,8 @@ import cassio
|
|
| 20 |
from PyPDF2 import PdfReader
|
| 21 |
from cassandra.cluster import Cluster
|
| 22 |
import warnings
|
| 23 |
-
from langchain.vectorstores import Pinecone
|
|
|
|
| 24 |
import pinecone
|
| 25 |
from pinecone import Pinecone, ServerlessSpec
|
| 26 |
from langchain_pinecone import PineconeVectorStore
|
|
|
|
| 20 |
from PyPDF2 import PdfReader
|
| 21 |
from cassandra.cluster import Cluster
|
| 22 |
import warnings
|
| 23 |
+
# from langchain.vectorstores import Pinecone
|
| 24 |
+
from langchain_community.vectorstores import Pinecone
|
| 25 |
import pinecone
|
| 26 |
from pinecone import Pinecone, ServerlessSpec
|
| 27 |
from langchain_pinecone import PineconeVectorStore
|