diff --git a/src/add_chunk_cli.py b/src/add_chunk_cli.py index a0277f8..6d3d055 100644 --- a/src/add_chunk_cli.py +++ b/src/add_chunk_cli.py @@ -7,8 +7,8 @@ base_url = "http://127.0.0.1:8099" ## 公司内网 -# base_url = "https://ddyy.iepose.cn" -# api_key = "ragflow-I5ZDNjMWNhNTdlMjExZjBiOTEwMzI0ZT" +base_url = "http://192.168.107.165:8099" +api_key = "ragflow-I5ZDNjMWNhNTdlMjExZjBiOTEwMzI0ZT" rag_object = RAGFlow(api_key=api_key, base_url=base_url) @@ -71,6 +71,8 @@ def pair_pdf_and_txt(pdf_path, txt_path): def main(): + file_path = "g:\\11\\22\\路桥设计党建\\" + file_path = "F:\\2\\" file_path = "g:\\11\\22\\规范\\" pdf_dict, txt_dict = pair_pdf_and_txt(file_path,file_path)