Hitan2004 commited on
Commit
fd59a3e
·
1 Parent(s): 649bc18

Update ingestion.py

Browse files
Files changed (1) hide show
  1. ingestion.py +1 -1
ingestion.py CHANGED
@@ -118,7 +118,7 @@ def run_ingestion(model=None):
118
  print("=== Starting ingestion ===\n")
119
  docs, filenames = load_documents()
120
  chunks, sources = semantic_chunk(docs, filenames)
121
- fi, bm25 = build_indexes(chunks)
122
  save_indexes(fi, bm25, chunks, sources)
123
  print("\n=== Ingestion complete ===")
124
 
 
118
  print("=== Starting ingestion ===\n")
119
  docs, filenames = load_documents()
120
  chunks, sources = semantic_chunk(docs, filenames)
121
+ fi, bm25 = build_indexes(chunks, model=model)
122
  save_indexes(fi, bm25, chunks, sources)
123
  print("\n=== Ingestion complete ===")
124