Commit Graph

2124 Commits

Author SHA1 Message Date
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
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
yangdx
a3ff0534d6 Remove the comments at the end of the environment variable lines in .env file 2025-03-29 13:52:29 +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
yangdx
7c5442b392 Update doc 2025-03-29 04:05:31 +08:00
yangdx
65574459f9 standardize .env loading behavior across modules 2025-03-29 03:48:38 +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
yangdx
0f051a35bd Update webui assets 2025-03-29 01:56:11 +08:00
yangdx
c057bf891d Update webui assets 2025-03-29 01:53:14 +08:00
yangdx
fb4143683b Bump core version to 1.3.1 2025-03-29 01:16:46 +08:00
yangdx
130f6b6ced Update webui assets 2025-03-29 00:21:18 +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
yangdx
fbe9d399db Bump api version to 1.2.8 2025-03-28 16:51:01 +08:00
yangdx
baa68eafcb Update webui assets 2025-03-28 16:50:05 +08:00
yangdx
adb4ca9294 Fix linting 2025-03-28 16:49:35 +08:00
yangdx
35d4503677 Feat: add duplicate file check 2025-03-28 16:48:46 +08:00
zrguo
7d7df69f4b Merge pull request #1207 from choizhang/track-tokens
feat:  Add TokenTracker to track token usage for LLM calls
2025-03-28 16:39:55 +11:00
zrguo
87fbffde14 fix citation 2025-03-28 13:30:24 +08:00
yangdx
783020aab5 Update webui assets 2025-03-28 12:04:11 +08:00
yangdx
cce91bdd5a Add core version to server startup splash screen 2025-03-28 08:20:55 +08:00
Shane Walker
d45dc14069 feat(openai): add client configuration support to OpenAI integration
Add support for custom client configurations in the OpenAI integration,
allowing for more flexible configuration of the AsyncOpenAI client.
This includes:

- Create a reusable helper function `create_openai_async_client`
- Add proper documentation for client configuration options
- Ensure consistent parameter precedence across the codebase
- Update the embedding function to support client configurations
- Add example script demonstrating custom client configuration usage

The changes maintain backward compatibility while providing a cleaner
and more maintainable approach to configuring OpenAI clients.
2025-03-27 15:39:39 -07:00
choizhang
8488229a29 feat: Add TokenTracker to track token usage for LLM calls 2025-03-28 01:25:15 +08:00
yangdx
6a85a97f93 Update i18n translation 2025-03-27 17:23:20 +08:00
yangdx
94f2d3c42d Update webui assets 2025-03-27 16:55:23 +08:00
yangdx
7e812d4929 Merge branch 'main' into sort-file 2025-03-27 13:40:22 +08:00
yangdx
cf8d87ca81 Update webui assetes 2025-03-27 13:38:59 +08:00
yangdx
affc313a88 Fix linting 2025-03-27 13:26:18 +08:00
yangdx
987cb585e7 fix: auth_mode error in health check end point
- Change AUTH_USERNAME/PASSWORD to AUTH_ACCOUNTS format
- Update docs for new auth configuration
2025-03-27 13:24:14 +08:00
yangdx
3066207415 Update webui assets 2025-03-27 11:12:36 +08:00
yangdx
a6086a615b Update webui assets 2025-03-27 08:38:17 +08:00
yangdx
f267e7b2c3 Update webui assets 2025-03-27 02:42:06 +08:00
yangdx
63c180a66d Update web assets 2025-03-27 02:21:56 +08:00
yangdx
dfa63e863c Fix linting 2025-03-26 23:53:41 +08:00
yangdx
ebe7620b5f Add pipeline_status endpoint to log filter 2025-03-26 23:24:26 +08:00
yangdx
d83ae39541 feat: add .env file check on startup
- Show warning if .env is missing
- For CLI startup: prompt for user confirmation
- For service startup: display warning only
2025-03-26 21:08:24 +08:00
yangdx
5008393974 Update webui assets 2025-03-26 20:38:35 +08:00
yangdx
a1dd6437ef Update webui assets 2025-03-26 19:00:19 +08:00
yangdx
140cf58e87 Update webui assets 2025-03-26 18:33:12 +08:00