Spaces:
Sleeping
Sleeping
Fix typo
Browse files- llm_service.py +1 -1
llm_service.py
CHANGED
|
@@ -75,7 +75,7 @@ class DefaultLLMService(LLMService):
|
|
| 75 |
all_ids = df["ENCOUNTER_ID"].astype(str).tolist()
|
| 76 |
existing_ids = collection.get(ids=all_ids)["ids"]
|
| 77 |
new_df = df[~df["ENCOUNTER_ID"].isin(existing_ids)] #get rows not in collection
|
| 78 |
-
new_ids=new_df["ENCOUNTER_ID"].astype(str.tolist()
|
| 79 |
|
| 80 |
# get data from new rows
|
| 81 |
#TODO what other info should be vectorized
|
|
|
|
| 75 |
all_ids = df["ENCOUNTER_ID"].astype(str).tolist()
|
| 76 |
existing_ids = collection.get(ids=all_ids)["ids"]
|
| 77 |
new_df = df[~df["ENCOUNTER_ID"].isin(existing_ids)] #get rows not in collection
|
| 78 |
+
new_ids=new_df["ENCOUNTER_ID"].astype(str).tolist()
|
| 79 |
|
| 80 |
# get data from new rows
|
| 81 |
#TODO what other info should be vectorized
|