mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 13:22:12 +00:00
Add index_heading_entries flag to default and sample khoj configs
This commit is contained in:
@@ -7,6 +7,7 @@ content-type:
|
|||||||
input-filter: "/data/org/*.org"
|
input-filter: "/data/org/*.org"
|
||||||
compressed-jsonl: "/data/embeddings/notes.jsonl.gz"
|
compressed-jsonl: "/data/embeddings/notes.jsonl.gz"
|
||||||
embeddings-file: "/data/embeddings/note_embeddings.pt"
|
embeddings-file: "/data/embeddings/note_embeddings.pt"
|
||||||
|
index_heading_entries: false
|
||||||
|
|
||||||
markdown:
|
markdown:
|
||||||
input-files: null
|
input-files: null
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ content-type:
|
|||||||
input-filter: # /path/to/org/*.org REQUIRED IF input-files IS NOT SET
|
input-filter: # /path/to/org/*.org REQUIRED IF input-files IS NOT SET
|
||||||
compressed-jsonl: "~/.khoj/content/org/org.jsonl.gz"
|
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 # Set to true to index entries with empty body
|
||||||
|
|
||||||
markdown:
|
markdown:
|
||||||
input-files: # ["/path/to/markdown-file.md"] REQUIRED IF input-filter IS NOT SET OR
|
input-files: # ["/path/to/markdown-file.md"] REQUIRED IF input-filter IS NOT SET OR
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ default_config = {
|
|||||||
'input-files': None,
|
'input-files': None,
|
||||||
'input-filter': None,
|
'input-filter': None,
|
||||||
'compressed-jsonl': '~/.khoj/content/org/org.jsonl.gz',
|
'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': {
|
'markdown': {
|
||||||
'input-files': None,
|
'input-files': None,
|
||||||
|
|||||||
Reference in New Issue
Block a user