Commit Graph

277 Commits

Author SHA1 Message Date
jin
a88908009c Merge branch 'HKUDS:main' into main 2024-11-27 15:16:28 +08:00
jin
8c88599abc fix formate 2024-11-26 10:21:39 +08:00
jin
28bc45c8f5 fix formate 2024-11-26 10:21:39 +08:00
jin
7cd06159e0 add LightRAG init parameters in readme
also fix some error
2024-11-26 10:19:28 +08:00
jin
5bde05ed53 add LightRAG init parameters in readme
also fix some error
2024-11-26 10:19:28 +08:00
Larfii
cb492ccb04 Add custom KG insertion 2024-11-25 18:06:19 +08:00
Larfii
abc56d68a2 Add custom KG insertion 2024-11-25 18:06:19 +08:00
jin
26ae240c65 Logic Optimization 2024-11-25 13:40:38 +08:00
jin
21f161390a Logic Optimization 2024-11-25 13:40:38 +08:00
jin
1dbe803521 Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-25 13:32:33 +08:00
jin
bf5815be8f Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-25 13:32:33 +08:00
jin
89c2de54a2 Optimization logic 2024-11-25 13:29:55 +08:00
jin
af3aef5d88 Optimization logic 2024-11-25 13:29:55 +08:00
Magic_yuan
4763bdc272 更新format 2024-11-21 11:11:23 +00:00
Magic_yuan
f51b5c68f5 更新format 2024-11-21 11:11:23 +00:00
Magic_yuan
9c612833a8 Update lightrag_azure_openai_demo.py 2024-11-21 18:49:29 +08:00
Magic_yuan
143f82d820 Update lightrag_azure_openai_demo.py 2024-11-21 18:49:29 +08:00
Magic_yuan
2e8768b301 Update lightrag_azure_openai_demo.py
更新代码格式
2024-11-21 18:44:38 +08:00
Magic_yuan
717afe4d59 Update lightrag_azure_openai_demo.py
更新代码格式
2024-11-21 18:44:38 +08:00
Magic_yuan
c0b040fe1b 使用AzureOpenAI实现,支持RPM/TPM限制。修复原先429响应即抛出异常的问题 2024-11-21 10:37:09 +08:00
Magic_yuan
2a3d92b515 使用AzureOpenAI实现,支持RPM/TPM限制。修复原先429响应即抛出异常的问题 2024-11-21 10:37:09 +08:00
zrguo
dcf2641147 Update lightrag_api_oracle_demo..py 2024-11-12 15:38:16 +08:00
zrguo
d904f2abd5 Update lightrag_api_oracle_demo..py 2024-11-12 15:38:16 +08:00
jin
41599897fb fix pre commit 2024-11-12 13:32:40 +08:00
jin
33caba3e12 fix pre commit 2024-11-12 13:32:40 +08:00
jin
d6443326c1 add oracle support 2024-11-12 11:19:34 +08:00
jin
45156ef0e6 add oracle support 2024-11-12 11:19:34 +08:00
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