diff --git a/src/khoj/processor/content/text_to_entries.py b/src/khoj/processor/content/text_to_entries.py index 75619443..69e90d7d 100644 --- a/src/khoj/processor/content/text_to_entries.py +++ b/src/khoj/processor/content/text_to_entries.py @@ -108,7 +108,7 @@ class TextToEntries(ABC): raw=entry.raw, heading=entry.heading, file=entry.file, - corpus_id=corpus_id, + corpus_id=uuid.uuid4() if raw_is_compiled else corpus_id, ) )