Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Taqi Jaffri committed Dec 7, 2023
1 parent bdc1042 commit 61e7cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docugami_kg_rag/helpers/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def populate_chroma_index(docset_id: str, chunks: List[Document], overwrite=Fals

if matching_collection:
print(f"Chroma collection already exists for {docset_id}.")
if overwrite == True:
if overwrite is True:
print(f"Overwrite is {overwrite}, deleting existing index")
persistent_client.delete_collection(docset_id)
else:
Expand Down

0 comments on commit 61e7cb6

Please sign in to comment.