Commit Graph

3145 Commits

Author SHA1 Message Date
Milin
787d91cb26 refactor(env): optimize env.example 2025-03-31 11:34:49 +08:00
Milin
4dbd5e3899 Merge branch 'main' into optimize-config-management
# Conflicts:
#	env.example
#	lightrag/api/utils_api.py
2025-03-31 11:29:29 +08:00
Milin
088fc19318 feat(config): Refactor configuration management
- Optimize JWT Auth module to load configuration via `global_args`.
- Decouple configuration-related code from `utils_api.py`, and add a new `config.py` file for unified configuration management.
- Adjust configuration import in `lightrag_server.py`, `auth.py`, and `document_routes.py` to be introduced through `global_args`.
2025-03-31 11:19:47 +08:00
zrguo
22a4e08439 Merge pull request #1228 from choizhang/fix-edge-label
fix(useLightragGraph): Change the label of the edge from type to keyword
2025-03-31 11:21:33 +11:00
zrguo
f953d63159 Merge pull request #1229 from choizhang/update-TokenTracker
feat(TokenTracker): Add context manager support to simplify token tracking
2025-03-31 11:20:51 +11:00
yangdx
9959ea90a8 Add drop support for Oracle 2025-03-31 03:19:06 +08:00
yangdx
6a51f38cae Remove namespace_prefix from PostgreSQL, maintain consistency with other storage implementation 2025-03-31 02:59:44 +08:00
yangdx
5b7cd50005 Add delete support for MongoKVStorage 2025-03-31 02:14:16 +08:00
yangdx
078cee390c Add drop support for all storage type implementation for Mongo DB 2025-03-31 02:10:58 +08:00
yangdx
b411ce2fed Add drop support for RedisKVStorage 2025-03-31 01:40:14 +08:00
yangdx
77bc9594cf Remove delete_entity and delete_entity_relation from RediskKVStorage 2025-03-31 01:34:41 +08:00
yangdx
0a82356d08 Add drop support for Gremlin Graph 2025-03-31 01:16:56 +08:00
yangdx
ee2719896f Add drop support for AGE storage 2025-03-31 01:09:30 +08:00
yangdx
0538217c3e Update env.example 2025-03-31 01:03:58 +08:00
yangdx
637d37eec4 Update drop implementation for all storage type of PostgreSQL 2025-03-31 01:03:41 +08:00
yangdx
8b125488e9 Bump api version to 1.2.9 2025-03-30 16:31:57 +08:00
yangdx
949a3904a9 feat(api): Enhance document clearing functionality
- Use storage drop methods to properly clean up all data
- Add file deletion from input directory
- Add pipeline status checking and locking mechanism
- Improve error handling with detailed logging and pipeline message tracking
2025-03-30 16:30:41 +08:00
yangdx
53ab5e015c remove check_storage_env_vars from lightrag.py 2025-03-30 15:25:04 +08:00
yangdx
1df4b777d7 Add drop funtions to storage implementations 2025-03-30 15:17:57 +08:00
yangdx
1a25a78e8a feat: remove check_storage_env_vars and add TODOs
- Remove unused check_storage_env_vars method
- Add TODO to check if has_edge works on reverse relation
- Add TODO about entities_vdb.client_storage local storage limitation
2025-03-30 10:25:49 +08:00
choizhang
164faf94e2 feat(TokenTracker): Add context manager support to simplify token tracking 2025-03-30 00:59:23 +08:00
choizhang
9518360021 fix(useLightragGraph): Change the label of the edge from type to keyword 2025-03-29 23:27:40 +08:00
zrguo
6eea8bdf5d Update README.md 2025-03-29 21:28:25 +08:00
zrguo
d0eb602b12 Update README.md 2025-03-29 21:25:34 +08:00
Daniel.y
7cf6381359 Merge pull request #1225 from danielaskdd/main
Remove the comments at the end of the environment variable lines in .env file
2025-03-29 13:54:41 +08:00
yangdx
a3ff0534d6 Remove the comments at the end of the environment variable lines in .env file 2025-03-29 13:52:29 +08:00
Daniel.y
be3be54ed4 Merge pull request #1224 from danielaskdd/main
Remove the comments at the end of the environment variable lines in .env file
2025-03-29 13:22:54 +08:00
yangdx
b79fb87dc7 Fix liinting 2025-03-29 13:22:16 +08:00
yangdx
8e57a925f1 Remove the comments at the end of the environment variable lines in .env file 2025-03-29 13:20:22 +08:00
yangdx
c94f30be2d Shorten log message to fit in pipelinestatus UI 2025-03-29 13:18:22 +08:00
Daniel.y
d543f860ca Merge pull request #1223 from danielaskdd/main
Update doc
2025-03-29 04:06:50 +08:00
yangdx
7c5442b392 Update doc 2025-03-29 04:05:31 +08:00
Daniel.y
1d18d66400 Merge pull request #1222 from danielaskdd/main
standardize .env loading behavior across modules
2025-03-29 03:49:13 +08:00
yangdx
65574459f9 standardize .env loading behavior across modules 2025-03-29 03:48:38 +08:00
Daniel.y
9559ed857b Merge pull request #1221 from danielaskdd/main
Refactor: Standardize .env loading behavior across modules
2025-03-29 03:45:16 +08:00
yangdx
539fcd5ebb Update env file warning message to be more specific 2025-03-29 03:42:51 +08:00
yangdx
c590d5878c refactor: standardize .env loading behavior across modules
- Use .env from current folder for each lightrag instance
- Allow different .env files for different instances
- Make OS env vars take precedence over .env file
2025-03-29 03:37:23 +08:00
Daniel.y
f165b4011d Merge pull request #1220 from danielaskdd/main
Optima document TAB layout
2025-03-29 01:57:46 +08:00
yangdx
0f051a35bd Update webui assets 2025-03-29 01:56:11 +08:00
yangdx
66d0b0322d Optimize layout 2025-03-29 01:55:46 +08:00
yangdx
c057bf891d Update webui assets 2025-03-29 01:53:14 +08:00
yangdx
0d315be8e6 Optima document TAB layout 2025-03-29 01:52:18 +08:00
Daniel.y
a7556fccb5 Merge pull request #1219 from danielaskdd/main
Bump core version to 1.3.1
2025-03-29 01:17:51 +08:00
yangdx
fb4143683b Bump core version to 1.3.1 2025-03-29 01:16:46 +08:00
Daniel.y
f330c05fda Merge pull request #1217 from danielaskdd/main
Improve OpenAI LLM logging with more detailed debug information
2025-03-29 00:37:42 +08:00
yangdx
130f6b6ced Update webui assets 2025-03-29 00:21:18 +08:00
yangdx
e7f10381c0 Add i18n translation 2025-03-29 00:20:41 +08:00
yangdx
80335d57a5 Fix linting 2025-03-28 21:43:47 +08:00
yangdx
feacae1ce4 Show more info in verbose_debug 2025-03-28 21:39:04 +08:00
yangdx
491c78dac1 Improve OpenAI LLM logging with more detailed debug information 2025-03-28 21:33:59 +08:00