Skip to content

Commit

Permalink
Merge pull request #324 from TogetherCrew/feat/313-telegram-summarizer
Browse files Browse the repository at this point in the history
fix: date schema for telegram summary date index!
  • Loading branch information
amindadgar authored Nov 11, 2024
2 parents d48eaa5 + 6f116a9 commit 8b859b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/hivemind_telegram_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def process_data(messages):
transformer = TransformSummary()
collection_name = "telegram_summary"
date_field = "date"
date_schema = models.PayloadSchemaType.TEXT
date_schema = models.PayloadSchemaType.DATETIME

def process_data(messages):
summaries = summarizer.summarize_daily(messages=messages)
Expand Down

0 comments on commit 8b859b8

Please sign in to comment.