Skip to content

Commit

Permalink
feat: Exclude metadata from discord summary!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Jan 30, 2024
1 parent bef211d commit 8200505
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def transform_thread_summary_to_document(
"thread": thread_name,
"channel": thread_channel,
},
excluded_embed_metadata_keys=["date", "thread", "channel"],
)

return thread_summary_document
Expand Down Expand Up @@ -69,6 +70,7 @@ def transform_channel_summary_to_document(
"channel": channel_name,
"thread": None,
},
excluded_embed_metadata_keys=["date", "thread", "channel"],
)

return channel_summary_document
Expand Down Expand Up @@ -103,6 +105,7 @@ def transform_daily_summary_to_document(
"thread": None,
"channel": None,
},
excluded_embed_metadata_keys=["date", "thread", "channel"],
)
daily_summary_documents.append(doc)

Expand Down

0 comments on commit 8200505

Please sign in to comment.