Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-t committed Jan 4, 2024
1 parent 0dc4ccc commit 0257cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createEmbeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def embed_sample_functions(repo_path):
)
)

# Process functions in batches of 3
# Process functions in batches of 3, three is set as arbitrary number maybe it can be increased
function_batches = [list(json_data.items())[i:i + 3] for i in range(0, len(json_data), 3)]

for batch in function_batches:
Expand Down

0 comments on commit 0257cc0

Please sign in to comment.