Skip to content

Commit

Permalink
feat: creating telegram summary date index on timestamp data!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Nov 6, 2024
1 parent 22e298b commit a3da899
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.DATETIME
date_schema = models.PayloadSchemaType.FLOAT

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

0 comments on commit a3da899

Please sign in to comment.