mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Fix passing verbose flag down in symmetric_ledger.py
This commit is contained in:
parent
e5a19f5b0e
commit
ce7a751e6b
1 changed files with 2 additions and 2 deletions
|
@ -147,10 +147,10 @@ def setup(config: TextSearchConfig, regenerate: bool, verbose: bool) -> TextSear
|
||||||
|
|
||||||
# Map notes in Org-Mode files to (compressed) JSONL formatted file
|
# Map notes in Org-Mode files to (compressed) JSONL formatted file
|
||||||
if not resolve_absolute_path(config.compressed_jsonl).exists() or regenerate:
|
if not resolve_absolute_path(config.compressed_jsonl).exists() or regenerate:
|
||||||
beancount_to_jsonl(config.input_files, config.input_filter, config.compressed_jsonl, config.verbose)
|
beancount_to_jsonl(config.input_files, config.input_filter, config.compressed_jsonl, verbose)
|
||||||
|
|
||||||
# Extract Entries
|
# Extract Entries
|
||||||
entries = extract_entries(config.compressed_jsonl, config.verbose)
|
entries = extract_entries(config.compressed_jsonl, verbose)
|
||||||
top_k = min(len(entries), top_k)
|
top_k = min(len(entries), top_k)
|
||||||
|
|
||||||
# Compute or Load Embeddings
|
# Compute or Load Embeddings
|
||||||
|
|
Loading…
Reference in a new issue