mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-13 01:20:51 +02:00
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:
commit
b9781c43fb
@ -161,7 +161,7 @@ class LoopioConnector(LoadConnector, PollConnector):
|
|||||||
]
|
]
|
||||||
doc_batch.append(
|
doc_batch.append(
|
||||||
Document(
|
Document(
|
||||||
id=entry["id"],
|
id=str(entry["id"]),
|
||||||
sections=[Section(link=link, text=content_text)],
|
sections=[Section(link=link, text=content_text)],
|
||||||
source=DocumentSource.LOOPIO,
|
source=DocumentSource.LOOPIO,
|
||||||
semantic_identifier=questions[0],
|
semantic_identifier=questions[0],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user