Commit Graph

1831 Commits

Author SHA1 Message Date
zrguo
fc6dff04ff fix logger level 2025-02-17 15:10:15 +08:00
zrguo
fce24f7611 Merge pull request #797 from danielaskdd/add-env-settings
Add the token size truncation for local query and token size setting by env
2025-02-17 15:00:07 +08:00
zrguo
0d19ca8945 Merge pull request #800 from ArnoChenFx/misc
Fix: Correct component paths, add 'api' tab, and handle invalid num_turns
2025-02-17 13:32:03 +08:00
ArnoChen
7c68bf7ab7 move ThemeProvider and ThemeToggle components 2025-02-17 12:35:35 +08:00
yangdx
b7cce9312f Fix linting 2025-02-17 12:34:54 +08:00
ArnoChen
6da53a302a add api tab in webui and handle invalid num_turns 2025-02-17 12:32:04 +08:00
yangdx
ae37454c42 Replace verbose_debug with logger.debug for token logging.
- Removed unused verbose_debug import
- Updated debug logging in kg_query
- Updated debug logging in mix_kg_vector_query
- Updated debug logging in kg_query_with_keywords
2025-02-17 12:28:49 +08:00
yangdx
d3ff8c3537 Set OpenAI logger level to INFO if VERBOSE_DEBUG is off 2025-02-17 12:20:47 +08:00
yangdx
9963fb7ff4 Make VERBOSE_DEBUG configurable via environment variable
- Adds environment variable support
- Defaults to "false" if not set
- Case-insensitive check for "true"
- Simplifies debugging configuration
- Maintains backward compatibility
2025-02-17 11:37:38 +08:00
zrguo
9e448b7da4 Merge pull request #792 from ArnoChenFx/light-webui
new LightRAG WebUI
2025-02-17 10:50:35 +08:00
yangdx
4fd1f214c1 Add verbose debug output option to API configuration
- Introduced `--verbose` flag
- Defaults to `False`
2025-02-17 03:57:58 +08:00
Yannick Stephan
efec27c0b8 fixed stream 2025-02-16 20:10:28 +01:00
Yannick Stephan
0b78787b25 cleaned code 2025-02-16 20:03:52 +01:00
Yuguo Qin
1cc56f1cb5 Current docker setup. 2025-02-17 03:03:14 +08:00
Yannick Stephan
1fdcd93e84 cleaned code 2025-02-16 19:58:30 +01:00
Yannick Stephan
e8c80ce683 cleaned code 2025-02-16 19:44:25 +01:00
Yannick Stephan
3119f76e26 added field check 2025-02-16 19:42:09 +01:00
Yannick Stephan
730e2bc8ce added conditions 2025-02-16 19:34:27 +01:00
Yannick Stephan
7f5f44a646 added type validation 2025-02-16 19:24:12 +01:00
ArnoChen
6efee1c2fe fix docstring for documents endpoint 2025-02-17 02:23:24 +08:00
Yannick Stephan
b09589cfd9 cleaned code 2025-02-16 19:13:29 +01:00
ArnoChen
dfd7f702dc new build
fix api alert
2025-02-17 02:08:55 +08:00
Yannick Stephan
709461b875 added insert texts 2025-02-16 19:07:06 +01:00
ArnoChen
c5f380986d implement API key alert 2025-02-17 01:59:36 +08:00
yangdx
806eadf5dc Add verbose debug option to control detailed debug output level
• Added VERBOSE env var & CLI flag
• Implemented verbose_debug() function
• Added verbose option to splash screen
• Reduced default debug output length
• Modified LLM debug logging behavior
2025-02-17 01:38:18 +08:00
ArnoChen
f5ee1f2cdb release new webui 2025-02-17 01:14:33 +08:00
ArnoChen
cf7c45b5dd format 2025-02-17 01:05:48 +08:00
ArnoChen
c2a7079392 finish document manager 2025-02-17 01:05:31 +08:00
ArnoChen
be4cdedfa1 add API tab to display backend documentation 2025-02-17 01:04:14 +08:00
ArnoChen
ca85b82a47 implement endpoint to retrieve document statuses 2025-02-17 01:03:24 +08:00
Yannick Stephan
87a13fd3ea cleaned code 2025-02-16 16:22:28 +01:00
Yannick Stephan
0b16718f9f add missing final 2025-02-16 16:21:28 +01:00
Yannick Stephan
49bea486a7 cleaned code 2025-02-16 16:04:35 +01:00
Yannick Stephan
2b2c81a722 added some comments 2025-02-16 16:04:07 +01:00
Yannick Stephan
abad9f235c make value on str enum 2025-02-16 15:54:54 +01:00
yangdx
9ec920661d Improve token estimation accuracy by using tiktoken instead of regex-based approach
• Replace regex token estimation method
• Use tiktoken for more precise counting
• Support all types of text input
• Simplify code implementation
2025-02-16 22:53:58 +08:00
Yannick Stephan
2bf238396e updated wrong status 2025-02-16 15:52:59 +01:00
yangdx
b450430109 Change log level from info to debug for token count logging 2025-02-16 22:42:53 +08:00
yangdx
8f6e9fcf50 Merge branch 'main' into add-env-settings 2025-02-16 22:34:39 +08:00
yangdx
cfb49fc013 Delete inline comment about config.ini 2025-02-16 22:31:12 +08:00
Yannick Stephan
a1607bbcb9 Merge remote-tracking branch 'origin/main' into make-clear-what-implemented-or-not
# Conflicts:
#	lightrag/base.py
#	lightrag/kg/json_doc_status_impl.py
#	lightrag/kg/mongo_impl.py
#	lightrag/kg/postgres_impl.py
2025-02-16 15:29:16 +01:00
Yannick Stephan
0c21442ca4 fixed default init 2025-02-16 15:20:46 +01:00
ArnoChen
801a980c03 Merge branch 'main' into light-webui 2025-02-16 22:09:18 +08:00
Yannick Stephan
0e7aff96bb back to not making breaks 2025-02-16 15:08:50 +01:00
zrguo
200319f293 Merge pull request #791 from ArnoChenFx/refactor-server
Refactor File Indexing for Background Asynchronous Processing
2025-02-16 22:07:30 +08:00
ArnoChen
e5b89c5400 fix retrieval testing and query settings 2025-02-16 21:58:30 +08:00
Yannick Stephan
0a8c94a1e0 fix value 2025-02-16 14:51:24 +01:00
Yannick Stephan
9a5fbaaa5f removed unused methods 2025-02-16 14:50:04 +01:00
Yannick Stephan
a0844bca28 cleaned import 2025-02-16 14:45:45 +01:00
ArnoChen
fc3ca2777f add query settings 2025-02-16 21:43:14 +08:00