Commit Graph

237 Commits

Author SHA1 Message Date
LarFii
4c0352ee2b Add delete method 2024-11-11 17:48:40 +08:00
LarFii
319de6fece Update README.md 2024-11-11 10:52:01 +08:00
LarFii
d0c1844264 Linting 2024-11-11 10:45:22 +08:00
zrguo
958cb9627e Merge pull request #241 from aiproductguy/patch-1
Added GUI (linked), updated README.md
2024-11-11 10:33:18 +08:00
zrguo
16596792b7 Merge pull request #240 from HTplex/patch-1
add missing imports to examples in README.md
2024-11-11 10:20:11 +08:00
aiproductguy
a307065828 Added GUI (linked), updated README.md
I am not sure streamlit is the interface I want to contribute back to the LightRAG project, but willing to share it all under the same MIT license.

I figured I would at least share the link and source code in the README.
2024-11-09 18:48:10 -07:00
Haotian Zhang
a445e556d8 Update README.md
add missing imports to examples in README.md
2024-11-09 14:59:41 -05:00
zrguo
780cf7eeb9 Update README.md 2024-11-07 18:38:16 +08:00
zrguo
bc97898c93 fix typo 2024-11-07 15:26:54 +08:00
zrguo
ff8eeeddd3 Merge pull request #215 from benx13/main
bug fix issue #95
2024-11-07 14:54:59 +08:00
zrguo
9463d588fa Merge branch 'main' into main 2024-11-07 14:54:15 +08:00
zrguo
d69bc5e936 Merge pull request #221 from wiltshirek/main
Fix Event Loop conflict
2024-11-07 14:52:10 +08:00
zrguo
07ff656758 Merge pull request #211 from monk-after-90s/main
Function enhancement
2024-11-07 14:47:59 +08:00
wiltshirek
aeda8a0000 Merge branch 'HKUDS:main' into main 2024-11-06 11:35:00 -05:00
Ken Wiltshire
3d5d083f42 fix event loop conflict 2024-11-06 11:18:14 -05:00
Ken Wiltshire
8420cd1c77 event loop issue 2024-11-06 10:49:14 -05:00
90houlaoheshang
846937195e 集中处理环境变量 2024-11-06 11:13:37 +08:00
90houlaoheshang
deca6305a9 feat(lightrag): 添加环境变量控制嵌入层最大 token 数量
- 在 lightrag_api_openai_compatible_demo.py 中,使用环境变量 EMBEDDING_MAX_TOKEN_SIZE 来设置嵌入层的最大 token 数量,默认值为 8192
2024-11-06 10:48:59 +08:00
benx13
6f77f54c6d bug fix issue #95 2024-11-05 18:36:59 -08:00
90houlaoheshang
a140f744a3 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
3cc448fc26 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
f82d4f7bd6 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
zrguo
b4ab9b26b8 Update README.md 2024-11-05 15:05:35 +08:00
zrguo
7789a99cb1 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
zrguo
f60368f8db 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
wiltshirek
266995bed6 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
zrguo
3f7ae11962 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
Ken Wiltshire
8bd5d9b5b2 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
Ken Wiltshire
465c9a13d9 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
f375620992 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
b41d990fd6 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
gogoswift
55cce796b9 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
4b92161c37 Update operate.py
消除text_units_section_list源文件的换行,统一混合检索上下文合并时的转换
2024-10-31 11:52:06 +08:00
gogoswift
f0524598c8 Update utils.py
混合检索的合并函数
2024-10-31 11:34:01 +08:00
gogoswift
eb60adf64d Update operate.py
修正输出格式与合并函数
2024-10-31 11:32:44 +08:00
zrguo
3501a2b914 Merge pull request #177 from WinstonCHEN1/main
fix:Step_3.py context
2024-10-31 08:24:22 +08:00
WinstonCHEN1
f95384b68c fix:Step_3.py context 2024-10-30 15:36:44 -07:00
Ken Wiltshire
e4509327dd index to neo4j working and tested. check queires next. 2024-10-30 17:48:14 -04:00