tykiww commited on
Commit
c052420
·
verified ·
1 Parent(s): a9edefa

Update connections/pinecone.py

Browse files
Files changed (1) hide show
  1. connections/pinecone.py +1 -1
connections/pinecone.py CHANGED
@@ -28,7 +28,7 @@ class PineconeConnector:
28
  def create_pipeline(self):
29
  """Create a pipeline given an index name"""
30
  # Create your index if index does not exist
31
- indexes = [i.name for i in pc.list_indexes()]
32
  index_exists = any([self.vector_db in i for i in indexes])
33
 
34
  if index_exists:
 
28
  def create_pipeline(self):
29
  """Create a pipeline given an index name"""
30
  # Create your index if index does not exist
31
+ indexes = [i.name for i in self.pc.list_indexes()]
32
  index_exists = any([self.vector_db in i for i in indexes])
33
 
34
  if index_exists: