Merge pull request #2909 from danswer-ai/bugfix/loopio

loopio connector: entry["id"] can apparently be a number, so convert to str
This commit is contained in:
rkuo-danswer 2024-10-24 19:55:47 -07:00 committed by GitHub
commit b9781c43fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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],