mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 13:20:17 +00:00
Revert Add Scheduled, Deadlne date to Model Embeddings for Date Aware Search
Sentence Transformer MSMarco Model isn't date aware
So no use of adding scheduled, deadline dates to model embeddings for consideration
This reverts commit a2a08d1354.
This commit is contained in:
@@ -120,16 +120,6 @@ def convert_org_entries_to_jsonl(entries, verbose=0):
|
||||
if verbose > 2:
|
||||
print(f"Body: {entry.Body()}")
|
||||
|
||||
if entry.Scheduled():
|
||||
entry_dict["Scheduled"] = entry.Scheduled().strftime("%Y-%m-%d")
|
||||
if verbose > 2:
|
||||
print(f"Scheduled: {entry.Scheduled().strftime('%Y-%m-%d')}")
|
||||
|
||||
if entry.Deadline():
|
||||
entry_dict["Deadline"] = entry.Deadline().strftime("%Y-%m-%d")
|
||||
if verbose > 2:
|
||||
print(f"Deadline: {entry.Deadline().strftime('%Y-%m-%d')}")
|
||||
|
||||
if entry_dict:
|
||||
entry_dict["Raw"] = f'{entry}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user