Commit Graph

1795 Commits

Author SHA1 Message Date
Lukas Selch
7fab9accfe Updated documentation examples to include chunk_order_index case 2025-02-19 14:58:51 +01:00
Lukas Selch
701d8bb48e Applied lint 2025-02-19 10:28:25 +01:00
Lukas Selch
bc630c8620 Renamed chunk_order_index and improve token calculation 2025-02-19 07:15:30 +01:00
Lukas Selch
537e10303d Fixed formatting 2025-02-17 15:25:50 +01:00
Lukas Selch
86f5a88db7 Fixed wrong variable name 2025-02-17 15:20:23 +01:00
Lukas Selch
7913304007 Fixed broken ainsert_custom_kg() 2025-02-17 15:12:35 +01:00
Yannick Stephan
0c8789035c Merge pull request #806 from MdNazishArmanShorthillsAI/main
Added system prompt support in all modes
2025-02-17 13:17:20 +01:00
MdNazishArmanShorthillsAI
c2ff17d343 Added system prompt support in all modes 2025-02-17 16:45:00 +05:30
Yannick Stephan
da9560d706 Merge pull request #798 from YanSte/api_improvment
API insert Texts, Improvement stream and naming
2025-02-17 11:54:23 +01:00
zrguo
9a1603f594 Merge pull request #795 from YanSte/make-clear-what-implemented-or-not
Enhancing ABC Enforcement and Standardizing Subclass Implementations
2025-02-17 16:03:22 +08:00
zrguo
5581df0b06 Merge pull request #802 from MdNazishArmanShorthillsAI/main
Improved variable assignment to use your own azure open ai embedding …
2025-02-17 15:53:37 +08:00
Yannick Stephan
ad5c5bba31 fix merge 2025-02-17 08:48:53 +01:00
Yannick Stephan
ef92a3f1f4 Merge remote-tracking branch 'origin/main' into api_improvment
# Conflicts:
#	lightrag/api/lightrag_server.py
2025-02-17 08:48:15 +01:00
Yannick Stephan
e9e786b75c update pr 2025-02-17 08:44:37 +01:00
MdNazishArmanShorthillsAI
44ef234002 Improved variable assignment to use your own azure open ai embedding model 2025-02-17 12:43:51 +05:30
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
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