mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Add index_heading_entries flag to default and sample khoj configs
This commit is contained in:
parent
7216cdff58
commit
1502fbc9e9
3 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue