Commit Graph

3751 Commits

Author SHA1 Message Date
yangdx
43948d6f17 Update openai demo 2025-05-13 18:27:55 +08:00
yangdx
461c76ce28 Update openai compatible demo 2025-05-13 17:48:45 +08:00
yangdx
2845e268e4 Ensure priority_limit_async_func_call decorator receive callable 2025-05-13 02:00:01 +08:00
yangdx
5c533f5e1a Fix liinting 2025-05-13 00:08:21 +08:00
yangdx
911bbd17a4 Fix linting 2025-05-12 23:27:41 +08:00
yangdx
746d353336 Update security.md 2025-05-12 23:26:44 +08:00
yangdx
d0029b5b53 Update favicon.png 2025-05-12 20:02:03 +08:00
yangdx
85ac94bae0 Update icon.svg 2025-05-12 19:47:35 +08:00
yangdx
00b78b91d6 Change website icon 2025-05-12 19:14:02 +08:00
yangdx
cbc8796bb0 Update logo from png to svg 2025-05-12 18:49:58 +08:00
yangdx
dfc44ec4be Update logo.png 2025-05-12 18:21:52 +08:00
yangdx
56f82bdcd5 Ensure OpenAI connection is closed after streaming response finished 2025-05-12 17:37:28 +08:00
zrguo
cf4bb148fb fix linting 2025-05-12 16:28:36 +08:00
zrguo
61a21f8d5d Merge pull request #1325 from venkateshpabbati/main
security fix
2025-05-12 16:25:11 +08:00
zrguo
f6dac9c287 Update logo.png 2025-05-12 14:56:46 +08:00
yangdx
c36d499a43 Update webui assets 2025-05-11 12:44:50 +08:00
yangdx
fd5f61f166 Enhances property edit dialog with error handling and loading states
- Displays error messages when save operations fail
- Shows loading spinner during save attempts
- Improves UX with loading state indicators
- Updates translations for save-related strings in multiple languages
2025-05-11 12:35:51 +08:00
yangdx
d5b9318553 Bump api version to 0170 2025-05-11 11:51:53 +08:00
yangdx
9ec9579a95 Fix linting 2025-05-11 11:24:52 +08:00
yangdx
68653f853a fix: handle missing 'weight' attribute in edge data to prevent KeyError
- Add validation in _find_most_related_edges_from_entities and  _get_edge_data function during edge data construction
- Add warning logs when 'weight' attribute is missing and set default value of 0.0
2025-05-11 11:16:32 +08:00
yangdx
5a3bf5ecc8 Fix linting 2025-05-11 10:25:59 +08:00
yangdx
0fdbdfe971 Fix env.sample 2025-05-11 10:25:46 +08:00
yangdx
4d57370c94 Refactor: Move get_env_value from api.config to utils
Relocates the `get_env_value` utility function
from `lightrag.api.config` to `lightrag.utils` to decouple
LightRAG core from API Server
2025-05-10 08:58:18 +08:00
Daniel.y
7ddfdc69e6 Merge pull request #1553 from HKUDS/fix-openai-streaming
Fix streaming problem for OpenAI
2025-05-09 15:57:32 +08:00
yangdx
c2938a71a4 Fix streaming problem for OpenAI 2025-05-09 15:54:54 +08:00
Daniel.y
3597239768 Merge pull request #1548 from maharjun/use_openai_context_manager
Use Openai Client Context Manager
2025-05-09 14:33:48 +08:00
yangdx
6bf3e5b9cf Merge branch 'pg-max-connection' 2025-05-09 14:20:53 +08:00
yangdx
9d0f09a183 Update env sample file 2025-05-09 14:19:42 +08:00
yangdx
c0f9e78949 Fix linting 2025-05-09 14:17:11 +08:00
yangdx
ebdc7cea49 Merge branch 'allow_max_connection_config' into pg-max-connection 2025-05-09 14:16:53 +08:00
Daniel.y
79a2007f1f Merge pull request #1552 from danielaskdd/ollama-user-prompt
Add user prompt support for Ollama api
2025-05-09 11:53:55 +08:00
yangdx
8145b436c8 Fix linting 2025-05-09 11:52:10 +08:00
yangdx
0751382e65 Update README.md 2025-05-09 11:51:22 +08:00
yangdx
fb4f12ba8e Add user prompt support for Ollama api 2025-05-09 11:37:43 +08:00
yangdx
4e1caf1e40 Fix lingting 2025-05-09 10:43:37 +08:00
yangdx
11fa70f7d1 Update README.md 2025-05-09 10:43:19 +08:00
Arjun Rao
6ebd76d5da bugfix: convert config val to int 2025-05-09 04:22:46 +10:00
Daniel.y
0e3ecbfd6c Merge pull request #1550 from danielaskdd/keyword-join-with-comma
Deduplicate merged relation keywords
2025-05-08 16:10:41 +08:00
yangdx
b8e88cfc6d Merge branch 'keyword-join-with-comma' of github.com:danielaskdd/LightRAG into keyword-join-with-comma 2025-05-08 16:06:53 +08:00
yangdx
d2d755db7b Normalize keyword extration result 2025-05-08 16:05:52 +08:00
yangdx
2fefb57356 Normalize keyword extration result 2025-05-08 16:05:08 +08:00
yangdx
de40f1b5b3 Deduplicate merged relation keywords 2025-05-08 15:52:18 +08:00
yangdx
b92f9b9453 Optimizing query prompt 2025-05-08 12:53:28 +08:00
Arjun Rao
b7eae4d7c0 Use the context manager for the openai client
This avoids issues of resource cleanup (too many open files) when dealing with massively parallel calls to the openai API since RAII in python is highly unreliable in such contexts.
2025-05-08 11:42:53 +10:00
yangdx
2bafc87a80 Add comment for deprecated PROMPT template 2025-05-08 09:40:38 +08:00
yangdx
3025094c62 Add commments for deprecated functions 2025-05-08 09:36:57 +08:00
Arjun Rao
f2c522ce7a Allow max_connections to be configured in postgres 2025-05-08 11:00:56 +10:00
yangdx
4a03218450 Update README.md 2025-05-08 05:26:59 +08:00
Daniel.y
f9d2415108 Merge pull request #1546 from danielaskdd/user-prompt
Feat: Add user prompt to QueryParam
2025-05-08 04:38:32 +08:00
Daniel.y
606df5fe68 Merge pull request #1545 from danielaskdd/change-naive-context-to-json
Optimize query context format for mix and naive mode query
2025-05-08 04:30:01 +08:00