1 Star 0 Fork 0

非洲挖井队之猎天/Medical-Graph-RAG

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
dataloader.py 336 Bytes
一键复制 编辑 原始数据 按行查看 历史
WuJunde 提交于 2024-08-21 08:46 +08:00 . update
import os
def load_high(datapath):
all_content = "" # Initialize an empty string to hold all the content
with open(datapath, 'r', encoding='utf-8') as file:
for line in file:
all_content += line.strip() + "\n" # Append each line to the string, add newline character if needed
return all_content
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/rengm/Medical-Graph-RAG.git
git@gitee.com:rengm/Medical-Graph-RAG.git
rengm
Medical-Graph-RAG
Medical-Graph-RAG
main

搜索帮助