Commit Graph

324 Commits

Author SHA1 Message Date
yuanxiaobin
4a866f3084 修改日志文件路径
- 因为LightRAG的几乎都是导入的utils中的全局logger对象,当多个rag实例的时候并无法完全把日志记录到对应的working_dir,并且应用中删除working_dir时会由于logger的句柄无法删除
- 此修改简化了日志文件的路径,不再依赖于 working_dir 属性,日志文件独立于working_dir
2024-12-04 08:44:13 +08:00
zrguo
b00f2d6027 Merge pull request #370 from jin38324/main
fix embedding_func issue for oracle database
2024-12-02 16:04:01 +08:00
zrguo
608c7ff956 Merge pull request #368 from AdityaKalraShorthillsAI/main
Added embedding_func argument in Neo4JStorage class's __init__ method in neo4j implementation
2024-12-02 16:02:53 +08:00
zrguo
1420669891 Merge pull request #360 from ahmadhatahet/azure_openai_embedding
Azure OpenAI Embedding
2024-12-02 16:02:13 +08:00
zrguo
66cf15e7f1 Merge pull request #354 from TashaSkyUp/patch-1
fix for #209
2024-12-02 15:53:08 +08:00
zrguo
7b763821c3 Merge pull request #353 from b10902118/dev
JSON mode support for ollama and openai gpt
2024-12-02 15:52:05 +08:00
zrguo
0a8f52417f Merge pull request #348 from donbr/patch-1
Update README: Move Neo4J Storage Section for Better Visibility
2024-12-02 15:45:32 +08:00
jin
2bf360b438 Merge branch 'HKUDS:main' into main 2024-12-02 15:31:01 +08:00
jin
d5303b4e48 Update lightrag_oracle_demo.py
add embedding_func for graph database, it's deleted in commit 5661d76860
This will fix the issue
2024-12-02 15:30:35 +08:00
AdityaKalraShorthillsAI
8d5af931d7 Added embedding_func argument in Neo4JStorage class's __init__ method in neo4j implementation 2024-12-02 02:44:47 +05:30
b10902118
3f9d19401f fix with ruff (unused import) 2024-12-01 16:09:24 +08:00
Ahmad Hatahet
137315ec18 add api_version to azure_openai_complete_if_cache 2024-11-30 17:47:33 +01:00
Ahmad Hatahet
9b92d425f6 update max_token_size according to openai doc 2024-11-30 17:16:07 +01:00
Ahmad Hatahet
38c8a6e97c add api_version to args 2024-11-30 17:11:38 +01:00
Tasha Upchurch
f0ea55d709 fix for #209
function was returning a closed event loop.
2024-11-29 13:27:08 -07:00
b10902118
2e95c633cf fix error and tested 2024-11-30 00:00:51 +08:00
b10902118
b0dd600429 support JSON output for ollama and openai 2024-11-29 21:41:37 +08:00
donbr
d4f0ac4f64 Update README.md to move Neo4j Storage content
Move `Using Neo4J for Storage` content outside of Ollama details group for improved visibility to this option.
2024-11-28 20:08:19 -08:00
zrguo
f3fe5d3b64 Merge pull request #343 from sebastianschramm/ses/fix_language_templating_in_prompts
fix templating of language in prompts
2024-11-28 21:36:07 +08:00
Sebastian Schramm
ba25614423 fix templating of language in prompts 2024-11-28 14:28:29 +01:00
zrguo
58bdc739f5 Update README.md 2024-11-27 18:48:10 +08:00
zrguo
2d36d1a746 Merge pull request #325 from jin38324/main
Enhance Query Logic and Add Configurable Features
2024-11-27 18:44:01 +08:00
jin
69867da89f Update insert_custom_kg.py 2024-11-27 15:20:10 +08:00
jin
a88908009c Merge branch 'HKUDS:main' into main 2024-11-27 15:16:28 +08:00
jin
28bc45c8f5 fix formate 2024-11-26 10:21:39 +08:00
jin
5bde05ed53 add LightRAG init parameters in readme
also fix some error
2024-11-26 10:19:28 +08:00
✨Data Intelligence Lab@HKU✨
6b070af92e Update README.md 2024-11-25 18:18:04 +08:00
Larfii
abc56d68a2 Add custom KG insertion 2024-11-25 18:06:19 +08:00
Larfii
ac1587ad2a Add a progress bar 2024-11-25 15:04:38 +08:00
jin
0ffd44b79c Update oracle_impl.py 2024-11-25 14:21:01 +08:00
jin
b5050ba80c Update oracle_impl.py 2024-11-25 14:15:10 +08:00
jin
21f161390a Logic Optimization 2024-11-25 13:40:38 +08:00
jin
bf5815be8f Merge branch 'main' of https://github.com/jin38324/LightRAG 2024-11-25 13:32:33 +08:00
jin
af3aef5d88 Optimization logic 2024-11-25 13:29:55 +08:00
✨Data Intelligence Lab@HKU✨
8161bd19f9 Update README.md 2024-11-22 17:39:36 +08:00
zrguo
6aeb2cf09a Merge pull request #320 from Lizidong01/main
删除Neo4JStorage.has_edge中定义的没有用到的同步close函数
2024-11-22 15:14:25 +08:00
zrguo
8b4da85b5e Merge pull request #318 from zzzcccxx/main
fix: 修改了local search中的relation_counts计数规则
2024-11-22 15:14:06 +08:00
zrguo
b267f306dc Merge pull request #316 from magicyuan876/patch-1
使用AzureOpenAI实现,支持RPM/TPM限制。修复原先429响应即抛出异常的问题
2024-11-22 15:13:18 +08:00
lzd
e6f380fc7a 删除Neo4JStorage.has_edge中定义的没有用到的同步close函数 2024-11-22 13:59:14 +08:00
Magic_yuan
f51b5c68f5 更新format 2024-11-21 11:11:23 +00:00
Magic_yuan
143f82d820 Update lightrag_azure_openai_demo.py 2024-11-21 18:49:29 +08:00
Magic_yuan
717afe4d59 Update lightrag_azure_openai_demo.py
更新代码格式
2024-11-21 18:44:38 +08:00
zzzcccxx
116e1d20a9 修改了relation_counts计数规则 2024-11-21 14:35:18 +08:00
zrguo
e0488bc9fc Update Discord Link 2024-11-21 10:56:15 +08:00
Magic_yuan
2a3d92b515 使用AzureOpenAI实现,支持RPM/TPM限制。修复原先429响应即抛出异常的问题 2024-11-21 10:37:09 +08:00
zrguo
a50ed0b164 Update README.md 2024-11-19 16:57:20 +08:00
LarFii
9d871fbc71 Update README.md 2024-11-19 16:54:14 +08:00
LarFii
bcaaaad959 Update 2024-11-19 16:52:26 +08:00
zrguo
14cd7bad24 Merge pull request #302 from Luobots/main
A more robust approach for result to json.
2024-11-19 16:26:29 +08:00
zrguo
93e0dcfd59 Merge pull request #286 from Sucran/main
fix neo4j bug
2024-11-19 15:25:49 +08:00