Mikeplockhart commited on
Commit
bf0561a
1 Parent(s): 7dbe65f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ print(type(embedding))
39
  collection.add(
40
  documents=[item['doc'] for item in payload],
41
  embeddings=embedding,
42
- metadatas=[{'payload':item} for item in payload],
43
  ids=[f"id_{idx}" for idx, _ in enumerate(payload)]
44
  )
45
 
 
39
  collection.add(
40
  documents=[item['doc'] for item in payload],
41
  embeddings=embedding,
42
+ #metadatas=[{'payload':item} for item in payload],
43
  ids=[f"id_{idx}" for idx, _ in enumerate(payload)]
44
  )
45