add url
This commit is contained in:
@@ -7,8 +7,8 @@ base_url = "http://127.0.0.1:8099"
|
|||||||
|
|
||||||
|
|
||||||
## 公司内网
|
## 公司内网
|
||||||
# base_url = "https://ddyy.iepose.cn"
|
base_url = "http://192.168.107.165:8099"
|
||||||
# api_key = "ragflow-I5ZDNjMWNhNTdlMjExZjBiOTEwMzI0ZT"
|
api_key = "ragflow-I5ZDNjMWNhNTdlMjExZjBiOTEwMzI0ZT"
|
||||||
rag_object = RAGFlow(api_key=api_key, base_url=base_url)
|
rag_object = RAGFlow(api_key=api_key, base_url=base_url)
|
||||||
|
|
||||||
|
|
||||||
@@ -72,6 +72,7 @@ def pair_pdf_and_txt(pdf_path, txt_path):
|
|||||||
def main():
|
def main():
|
||||||
|
|
||||||
file_path = "g:\\11\\22\\路桥设计党建\\"
|
file_path = "g:\\11\\22\\路桥设计党建\\"
|
||||||
|
file_path = "F:\\2\\"
|
||||||
pdf_dict, txt_dict = pair_pdf_and_txt(file_path,file_path)
|
pdf_dict, txt_dict = pair_pdf_and_txt(file_path,file_path)
|
||||||
|
|
||||||
if not pdf_dict:
|
if not pdf_dict:
|
||||||
|
Reference in New Issue
Block a user