Skip to content

Commit

Permalink
Minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachNagengast committed Jul 15, 2023
1 parent f6fb64c commit 0129d90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/SimilaritySearchKit/Core/Index/SimilarityIndex.swift
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ extension SimilarityIndex {

public func addItems(_ items: [IndexItem]) {
Task {
for item in items {

for item in items {
await self.addItem(id: item.id, text: item.text, metadata: item.metadata, embedding: item.embedding)
}
}
Expand Down

0 comments on commit 0129d90

Please sign in to comment.