200 Commits

Author SHA1 Message Date
jin
591adfe1c9 Create lightrag_api_oracle_demo..py 2024-11-11 16:37:24 +08:00
jin
c89bf79ee0 Create lightrag_api_oracle_demo..py 2024-11-11 16:37:24 +08:00
jin
0b6b0064d6 Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-11 15:21:37 +08:00
jin
40b532722c Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-11 15:21:37 +08:00
LarFii
d0c1844264 Linting 2024-11-11 10:45:22 +08:00
LarFii
b6b2e69773 Linting 2024-11-11 10:45:22 +08:00
jin
d68fc3d248 support Oracle DB 2024-11-08 16:20:34 +08:00
jin
6e56c8343a 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
b690e071bf support Oracle Database storage 2024-11-08 16:12:58 +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
jin
1bc4e2382b Oracle Database support
Add oracle 23ai database as the KV/vector/graph storage
2024-11-08 14:58:41 +08:00
90houlaoheshang
846937195e 集中处理环境变量 2024-11-06 11:13:37 +08:00
90houlaoheshang
bc9cfcbc75 集中处理环境变量 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
90houlaoheshang
d644ee52f5 feat(lightrag): 添加环境变量控制嵌入层最大 token 数量
- 在 lightrag_api_openai_compatible_demo.py 中,使用环境变量 EMBEDDING_MAX_TOKEN_SIZE 来设置嵌入层的最大 token 数量,默认值为 8192
2024-11-06 10:48:59 +08:00
90houlaoheshang
a140f744a3 refactor(lightrag): 优化文件上传接口
- 移除 InsertFileRequest 模型,改用 FastAPI 的 File 和 UploadFile
- 修改 insert_file 函数,以适应新的文件上传方式
- 更新函数参数和逻辑,支持直接上传文件
- 优化错误处理和响应消息
2024-11-05 17:22:04 +08:00
90houlaoheshang
5099a2e763 refactor(lightrag): 优化文件上传接口
- 移除 InsertFileRequest 模型,改用 FastAPI 的 File 和 UploadFile
- 修改 insert_file 函数,以适应新的文件上传方式
- 更新函数参数和逻辑,支持直接上传文件
- 优化错误处理和响应消息
2024-11-05 17:22:04 +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
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
Zhenyu Pan
24aedf35f2 [hotfix-#163] Fix asynchronous problem 2024-10-29 23:29:47 +08:00
Zhenyu Pan
4761a736fd [hotfix-#163] Fix asynchronous problem 2024-10-29 23:29:47 +08:00
Andrii Lazarchuk
84b60e4aa6 Fix lint issue 2024-10-28 17:05:38 +02:00
Andrii Lazarchuk
29bf41df4d
Fix lint issue 2024-10-28 17:05:38 +02:00
Andrii Lazarchuk
0e71a906af Merge branch 'main' into before-sync-28-10-2024 2024-10-28 15:54:43 +02:00
Andrii Lazarchuk
478998bc27
Merge branch 'main' into before-sync-28-10-2024 2024-10-28 15:54:43 +02:00
zrguo
458b5e1537 Merge pull request #143 from thinkthinking/main
[feat] Add API server implementation and endpoints
2024-10-28 09:54:02 +08:00
zrguo
12d4c69943
Merge pull request #143 from thinkthinking/main
[feat] Add API server implementation and endpoints
2024-10-28 09:54:02 +08:00
tackhwa
2e703296d5 pre-commit 2024-10-26 16:13:18 +08:00
tackhwa
2120a6dabb pre-commit 2024-10-26 16:13:18 +08:00
tackhwa
8deb30aa20 support lmdeploy backend 2024-10-26 16:11:15 +08:00
tackhwa
88f4e34528 support lmdeploy backend 2024-10-26 16:11:15 +08:00
zhenjie.ye
981be9e569 Refactor code formatting in lightrag_api_openai_compatible_demo.py 2024-10-26 16:09:36 +08:00
zhenjie.ye
fb84c1e5be Refactor code formatting in lightrag_api_openai_compatible_demo.py 2024-10-26 16:09:36 +08:00
zhenjie.ye
3d7b05b3e7 Refactor code formatting in lightrag_api_openai_compatible_demo.py 2024-10-26 16:00:30 +08:00
zhenjie.ye
08feac942a Refactor code formatting in lightrag_api_openai_compatible_demo.py 2024-10-26 16:00:30 +08:00
zhenjie.ye
dba7dad6df [feat] Add API server implementation and endpoints 2024-10-26 15:56:48 +08:00
zhenjie.ye
02f94ab228 [feat] Add API server implementation and endpoints 2024-10-26 15:56:48 +08:00
zrguo
e07b9f0530 Update graph_visual_with_html.py 2024-10-26 14:04:11 +08:00
zrguo
f6e97c0528
Update graph_visual_with_html.py 2024-10-26 14:04:11 +08:00
Sanketh Kumar
a157e8e0a2 Manually reformatted files 2024-10-25 13:32:25 +05:30
Sanketh Kumar
5e3ab98d83 Manually reformatted files 2024-10-25 13:32:25 +05:30
Zhenyu Pan
bd160013fc [hotfix-#75][embedding] Fix the potential embedding problem 2024-10-24 00:58:52 +08:00
Zhenyu Pan
f0856b918b [hotfix-#75][embedding] Fix the potential embedding problem 2024-10-24 00:58:52 +08:00
tackhwa
dfec83de1d fix hf bug 2024-10-23 15:02:28 +08:00
tackhwa
63c0283514 fix hf bug 2024-10-23 15:02:28 +08:00
tpoisonooo
ed59b1e143 Update lightrag_siliconcloud_demo.py 2024-10-23 11:24:52 +08:00
tpoisonooo
7fa7bd5463
Update lightrag_siliconcloud_demo.py 2024-10-23 11:24:52 +08:00