Commit Graph

260 Commits

Author SHA1 Message Date
Rick Battle
d4a27c901e Only update storage if there was something to insert
Before, the `finally` block would always call `_insert_done()`, which writes out the `vdb_*` and `kv_store_*` files ... even if there was nothing to insert (because all docs had already been inserted).  This was causing the speed of skippable inserts to become very slow as the graph grew.
2024-11-12 09:30:21 -07:00
zrguo
dcf2641147 Update lightrag_api_oracle_demo..py 2024-11-12 15:38:16 +08:00
zrguo
c01f15802d Merge pull request #257 from jin38324/main
Add Oracle database as all type of storage (KV/vector/graph)
2024-11-12 15:36:11 +08:00
jin
41599897fb fix pre commit 2024-11-12 13:32:40 +08:00
jin
cc45d802a6 Update oracle_impl.py 2024-11-12 13:23:03 +08:00
jin
f4ee85034f Update oracle_impl.py 2024-11-12 13:03:03 +08:00
jin
d87c5cc288 Merge branch 'HKUDS:main' into main 2024-11-12 12:59:11 +08:00
jin
77123be2a1 Update oracle_impl.py 2024-11-12 12:02:24 +08:00
jin
d6443326c1 add oracle support 2024-11-12 11:19:34 +08:00
✨Data Intelligence Lab@HKU✨
f9aad44745 Update README.md 2024-11-12 10:56:00 +08:00
jin
8bc5d4efff add Oracle support 2024-11-12 09:59:12 +08:00
zrguo
c3ffce4729 Update Discord link 2024-11-12 07:51:21 +08:00
LarFii
b49f73181c update 2024-11-11 17:54:22 +08:00
LarFii
4c0352ee2b Add delete method 2024-11-11 17:48:40 +08:00
jin
591adfe1c9 Create lightrag_api_oracle_demo..py 2024-11-11 16:37:24 +08:00
jin
8a7fb9761f Update oracle_impl.py 2024-11-11 15:32:30 +08:00
jin
10e4c595c5 Update oracle_impl.py 2024-11-11 15:24:31 +08:00
jin
0b6b0064d6 Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-11 15:21:37 +08:00
jin
b1cf41d242 fix bug 2024-11-11 15:19:42 +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
jin
b1a0397d18 support Oralce DB 2024-11-08 16:27:15 +08:00
jin
d68fc3d248 support Oracle DB 2024-11-08 16:20:34 +08:00
jin
5e9d19d5a3 support Oracle Database storage 2024-11-08 16:12:58 +08:00
jin
32cf860b83 Update README.md 2024-11-08 15:02:29 +08:00
jin
594470ab56 Oracle Database support
Add oracle 23ai database as the KV/vector/graph storage
2024-11-08 14:58:41 +08: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