diff --git a/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py b/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py index 7370b093..e8e0f25d 100644 --- a/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py +++ b/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py @@ -22,7 +22,7 @@ def transform(self, messages: list[TelegramMessagesModel]) -> list[Document]: a list of llama-index documents to be embedded & loaded into db """ transformed_docs: list[Document] = [] - + # within links the "-100" of chat_id is removed chat_id = str(self.chat_id).removeprefix("-100")