Add index_heading_entries flag to default and sample khoj configs

This commit is contained in:
Debanjum Singh Solanky 2022-09-11 17:30:02 +03:00
parent 7216cdff58
commit 1502fbc9e9
3 changed files with 4 additions and 1 deletions

View file

@ -7,6 +7,7 @@ content-type:
input-filter: "/data/org/*.org"
compressed-jsonl: "/data/embeddings/notes.jsonl.gz"
embeddings-file: "/data/embeddings/note_embeddings.pt"
index_heading_entries: false
markdown:
input-files: null

View file

@ -4,6 +4,7 @@ content-type:
input-filter: # /path/to/org/*.org REQUIRED IF input-files IS NOT SET
compressed-jsonl: "~/.khoj/content/org/org.jsonl.gz"
embeddings-file: "~/.khoj/content/org/org_embeddings.pt"
index_heading_entries: false # Set to true to index entries with empty body
markdown:
input-files: # ["/path/to/markdown-file.md"] REQUIRED IF input-filter IS NOT SET OR

View file

@ -11,7 +11,8 @@ default_config = {
'input-files': None,
'input-filter': None,
'compressed-jsonl': '~/.khoj/content/org/org.jsonl.gz',
'embeddings-file': '~/.khoj/content/org/org_embeddings.pt'
'embeddings-file': '~/.khoj/content/org/org_embeddings.pt',
'index_heading_entries': False
},
'markdown': {
'input-files': None,