forked from AI_team/Philosophy-RAG-demo
Bugfix not passing unstructured_pdf argument along
This commit is contained in:
parent
f46887b19d
commit
3412dea813
@ -202,7 +202,14 @@ if __name__ == "__main__":
|
|||||||
if args.reset_chrome_db:
|
if args.reset_chrome_db:
|
||||||
vector_store.reset_collection()
|
vector_store.reset_collection()
|
||||||
|
|
||||||
add_pdf_files(vector_store, args.pdf_data, args.pdf_chunk_size, args.pdf_chunk_overlap, args.pdf_add_start_index)
|
add_pdf_files(
|
||||||
|
vector_store,
|
||||||
|
args.pdf_data,
|
||||||
|
args.pdf_chunk_size,
|
||||||
|
args.pdf_chunk_overlap,
|
||||||
|
args.pdf_add_start_index,
|
||||||
|
args.unstructured_pdf,
|
||||||
|
)
|
||||||
add_urls(vector_store, args.web_data, args.web_chunk_size)
|
add_urls(vector_store, args.web_data, args.web_chunk_size)
|
||||||
|
|
||||||
run_chainlit(__file__)
|
run_chainlit(__file__)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user