entry["id"] can apparently be a number, so convert to str

This commit is contained in:
Richard Kuo (Danswer) 2024-10-24 18:31:10 -07:00
parent b49a9ab171
commit 10b5b55658

View File

@ -161,7 +161,7 @@ class LoopioConnector(LoadConnector, PollConnector):
]
doc_batch.append(
Document(
id=entry["id"],
id=str(entry["id"]),
sections=[Section(link=link, text=content_text)],
source=DocumentSource.LOOPIO,
semantic_identifier=questions[0],