parent
1e19c64435
commit
a9f32c08bb
@ -0,0 +1 @@
|
|||||||
|
TOPIC='ChuZhongShuXue'
|
@ -1,7 +1,9 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
|
from Tools.KG_Config import TOPIC
|
||||||
|
|
||||||
# 文件路径
|
# 文件路径
|
||||||
file_path = r"d:\dsWork\dsProject\dsLightRag\Topic\ChuZhongShuXue\vdb_chunks.json"
|
file_path = rf"d:\dsWork\dsProject\dsLightRag\Topic\{TOPIC}\vdb_chunks.json"
|
||||||
|
|
||||||
# 读取并解析JSON文件
|
# 读取并解析JSON文件
|
||||||
with open(file_path, 'r', encoding='utf-8') as f:
|
with open(file_path, 'r', encoding='utf-8') as f:
|
@ -1,7 +1,9 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
|
from Tools.KG_Config import TOPIC
|
||||||
|
|
||||||
# 文件路径
|
# 文件路径
|
||||||
file_path = r"d:\dsWork\dsProject\dsLightRag\Topic\ChuZhongShuXue\vdb_entities.json"
|
file_path = rf"d:\dsWork\dsProject\dsLightRag\Topic\{TOPIC}\vdb_entities.json"
|
||||||
|
|
||||||
# 读取并解析JSON文件
|
# 读取并解析JSON文件
|
||||||
with open(file_path, 'r', encoding='utf-8') as f:
|
with open(file_path, 'r', encoding='utf-8') as f:
|
@ -1,7 +1,9 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
|
from Tools.KG_Config import TOPIC
|
||||||
|
|
||||||
# 文件路径
|
# 文件路径
|
||||||
file_path = r"d:\dsWork\dsProject\dsLightRag\Topic\JiHe\kv_store_text_chunks.json"
|
file_path = rf"d:\dsWork\dsProject\dsLightRag\Topic\{TOPIC}\kv_store_text_chunks.json"
|
||||||
|
|
||||||
# 读取并解析JSON文件
|
# 读取并解析JSON文件
|
||||||
with open(file_path, 'r', encoding='utf-8') as f:
|
with open(file_path, 'r', encoding='utf-8') as f:
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue