Compare commits

..

2 Commits

Author SHA1 Message Date
19133b203a Merge branch 'main' of https://git.lqsjy.cn/glowz/ragflow_api_test 2025-07-16 10:58:00 +08:00
ba46368082 add url 2025-07-16 10:55:38 +08:00

View File

@@ -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)