Update utils.py
Browse files
utils.py
CHANGED
@@ -6,6 +6,7 @@ def clean_pinecone(response):
|
|
6 |
|
7 |
for entry in response['matches']:
|
8 |
code = entry['metadata']['code']
|
|
|
9 |
if code not in unique_codes:
|
10 |
#Where class is unique
|
11 |
classes.append(entry)
|
|
|
6 |
|
7 |
for entry in response['matches']:
|
8 |
code = entry['metadata']['code']
|
9 |
+
# score =
|
10 |
if code not in unique_codes:
|
11 |
#Where class is unique
|
12 |
classes.append(entry)
|