From 10b5b556581ae77bca79e0a90a239ade8325a728 Mon Sep 17 00:00:00 2001 From: "Richard Kuo (Danswer)" Date: Thu, 24 Oct 2024 18:31:10 -0700 Subject: [PATCH] entry["id"] can apparently be a number, so convert to str --- backend/danswer/connectors/loopio/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/danswer/connectors/loopio/connector.py b/backend/danswer/connectors/loopio/connector.py index e10bed87617..d3bdfe503f7 100644 --- a/backend/danswer/connectors/loopio/connector.py +++ b/backend/danswer/connectors/loopio/connector.py @@ -161,7 +161,7 @@ def _process_entries( ] 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],