Mikeplockhart commited on
Commit
4127bf3
·
verified ·
1 Parent(s): 2cbfdf4

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -36,7 +36,7 @@ def chroma_upserting(collection, payload:list[dict]):
36
  #for idx, item in enumerate(payload):
37
  # print("printing item:")
38
  # print(type(item))
39
- embedding = (embedding_function([item['doc'] for item in payload))
40
  # print(type(embedding))
41
  # collection.add(
42
  # documents=item['doc'],
 
36
  #for idx, item in enumerate(payload):
37
  # print("printing item:")
38
  # print(type(item))
39
+ embedding = (embedding_function([item['doc'] for item in payload])
40
  # print(type(embedding))
41
  # collection.add(
42
  # documents=item['doc'],