Commit Graph

2872 Commits

Author SHA1 Message Date
90houlaoheshang
5099a2e763 refactor(lightrag): 优化文件上传接口
- 移除 InsertFileRequest 模型,改用 FastAPI 的 File 和 UploadFile
- 修改 insert_file 函数,以适应新的文件上传方式
- 更新函数参数和逻辑,支持直接上传文件
- 优化错误处理和响应消息
2024-11-05 17:22:04 +08:00
90houlaoheshang
11b791c72b README 2024-11-05 16:48:29 +08:00
90houlaoheshang
b2a5235759 README 2024-11-05 16:48:29 +08:00
90houlaoheshang
3cc448fc26 API中可以通过POST参数控制查询是否only_need_context 2024-11-05 16:44:32 +08:00
90houlaoheshang
8d00f5a4cd API中可以通过POST参数控制查询是否only_need_context 2024-11-05 16:44:32 +08:00
90houlaoheshang
78a1b8ed7b docs(README): 添加环境变量配置说明
- 在 README.md 文件中补充了环境变量配置步骤
- 新增 OPENAI_BASE_URL、OPENAI_API_KEY、LLM_MODEL 和 EMBEDDING_MODEL 环境变量的说明
- 为使用 OpenAI API 和自定义模型提供了更详细的配置指南
2024-11-05 16:14:45 +08:00
90houlaoheshang
7d2641989b docs(README): 添加环境变量配置说明
- 在 README.md 文件中补充了环境变量配置步骤
- 新增 OPENAI_BASE_URL、OPENAI_API_KEY、LLM_MODEL 和 EMBEDDING_MODEL 环境变量的说明
- 为使用 OpenAI API 和自定义模型提供了更详细的配置指南
2024-11-05 16:14:45 +08:00
90houlaoheshang
f82d4f7bd6 Merge remote-tracking branch 'origin/main' 2024-11-05 15:50:49 +08:00
90houlaoheshang
8adc48552d Merge remote-tracking branch 'origin/main' 2024-11-05 15:50:49 +08:00
90houlaoheshang
9bab630059 fastapi接收环境变量EMBEDDING_MODEL、LLM_MODEL、OPENAI_API_KEY、OPENAI_BASE_URL以自定模型 2024-11-05 15:13:48 +08:00
90houlaoheshang
f098bd52e5 fastapi接收环境变量EMBEDDING_MODEL、LLM_MODEL、OPENAI_API_KEY、OPENAI_BASE_URL以自定模型 2024-11-05 15:13:48 +08:00
zrguo
b4ab9b26b8 Update README.md 2024-11-05 15:05:35 +08:00
zrguo
534efce2b8 Update README.md 2024-11-05 15:05:35 +08:00
zrguo
7789a99cb1 Update README.md 2024-11-05 14:24:42 +08:00
zrguo
1f699f14a9 Update README.md 2024-11-05 14:24:42 +08:00
✨Data Intelligence Lab@HKU✨
4d3697f848 Update README.md 2024-11-05 11:34:54 +08:00
✨Data Intelligence Lab@HKU✨
ae41894219 Update README.md 2024-11-05 11:34:54 +08:00
zrguo
f60368f8db Update README.md 2024-11-04 21:06:43 +08:00
zrguo
c523dd60ac Update README.md 2024-11-04 21:06:43 +08:00
zrguo
d768cfe398 Merge pull request #197 from wiltshirek/main
Neo4J integration.
2024-11-04 20:49:32 +08:00
zrguo
6d9bd10c14 Merge pull request #197 from wiltshirek/main
Neo4J integration.
2024-11-04 20:49:32 +08:00
wiltshirek
266995bed6 Merge branch 'HKUDS:main' into main 2024-11-03 07:24:28 -05:00
wiltshirek
346e96835b Merge branch 'HKUDS:main' into main 2024-11-03 07:24:28 -05:00
Ken Wiltshire
7af90f0129 linting errors fixed 2024-11-03 07:17:02 -05:00
Ken Wiltshire
5aa3be93e0 linting errors fixed 2024-11-03 07:17:02 -05:00
zrguo
3f7ae11962 Update utils.py 2024-11-03 17:53:53 +08:00
zrguo
6dd778ed70 Update utils.py 2024-11-03 17:53:53 +08:00
zrguo
26c5f1b743 Merge pull request #183 from gogoswift/main
Fix combine_contexts in hybrid_query
2024-11-03 17:44:06 +08:00
zrguo
d1e3f36db8 Merge pull request #183 from gogoswift/main
Fix combine_contexts in hybrid_query
2024-11-03 17:44:06 +08:00
Ken Wiltshire
8bd5d9b5b2 using neo4j async 2024-11-02 18:35:07 -04:00
Ken Wiltshire
f19af82db1 using neo4j async 2024-11-02 18:35:07 -04:00
wiltshirek
f40725feeb Merge branch 'main' into main 2024-11-01 16:50:45 -04:00
wiltshirek
40e80ebc9d Merge branch 'main' into main 2024-11-01 16:50:45 -04:00
Ken Wiltshire
465c9a13d9 cleaning code for pull 2024-11-01 16:29:36 -04:00
Ken Wiltshire
620be715bc cleaning code for pull 2024-11-01 16:29:36 -04:00
Ken Wiltshire
8547dd4941 cleaning code for pull 2024-11-01 16:13:39 -04:00
Ken Wiltshire
2c6cc200a2 cleaning code for pull 2024-11-01 16:13:39 -04:00
Ken Wiltshire
f375620992 cleaning code for pull 2024-11-01 16:11:19 -04:00
Ken Wiltshire
ca65e360aa cleaning code for pull 2024-11-01 16:11:19 -04:00
Ken Wiltshire
13940c1726 env var naming conflict, qualified by prefix 2024-11-01 14:24:17 -04:00
Ken Wiltshire
caa24ee443 env var naming conflict, qualified by prefix 2024-11-01 14:24:17 -04:00
Ken Wiltshire
b41d990fd6 securing for production with env vars for creds 2024-11-01 11:01:50 -04:00
Ken Wiltshire
c86bc0edbe securing for production with env vars for creds 2024-11-01 11:01:50 -04:00
Ken Wiltshire
e966a14418 set kg by start param, defaults to networkx 2024-11-01 08:47:52 -04:00
Ken Wiltshire
e44046f9e6 set kg by start param, defaults to networkx 2024-11-01 08:47:52 -04:00
gogoswift
55cce796b9 Update operate.py 2024-10-31 15:17:02 +08:00
gogoswift
11b9403251 Update operate.py 2024-10-31 15:17:02 +08:00
gogoswift
b91d3912cc Update utils.py 2024-10-31 14:31:26 +08:00
gogoswift
7d884b9783 Update utils.py 2024-10-31 14:31:26 +08:00
gogoswift
4b92161c37 Update operate.py
消除text_units_section_list源文件的换行,统一混合检索上下文合并时的转换
2024-10-31 11:52:06 +08:00