Skip to content

Commit

Permalink
Merge pull request #185 from StampyAI/fix-removed
Browse files Browse the repository at this point in the history
fix removed
  • Loading branch information
ccstan99 authored Sep 10, 2023
2 parents af6f577 + ecd2d30 commit f08b8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion align_data/embeddings/pinecone/update_pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def process_batch(self, batch: List[Article]):
self.pinecone_db.delete_entries([a.id for a in batch])
logger.info('removing batch %s', len(batch))
for article in batch:
article.pinecone_status = PineconeStatus.removed
article.pinecone_status = PineconeStatus.absent
return batch


Expand Down

0 comments on commit f08b8b5

Please sign in to comment.