Commit Graph

3422 Commits

Author SHA1 Message Date
yangdx
21f5a3923e Add log support for OpenAI demo 2025-04-20 22:03:30 +08:00
yangdx
697401fdc3 Change OpenAI demo to asyc 2025-04-20 21:39:51 +08:00
yangdx
dd4f92dae2 Update README.md 2025-04-20 20:33:01 +08:00
yangdx
733e307a8d Merge branch 'stevezhangishero/main' 2025-04-20 15:18:36 +08:00
yangdx
cd01ec64d3 Add tokenizer to global_config 2025-04-20 14:51:11 +08:00
yangdx
39540f3f8b Fix linting 2025-04-20 14:33:33 +08:00
yangdx
5f2cd871a8 Update sample code and README 2025-04-20 14:33:16 +08:00
yangdx
4ae5246a7e Remove summary length check for entity relations
- Summary now determined by num_fragment
2025-04-20 12:36:32 +08:00
yangdx
48e49fbe34 Merge branch 'drahnreb/add-custom-tokenizer' 2025-04-20 12:22:10 +08:00
yangdx
a418b18ed1 Fix linting 2025-04-20 11:17:51 +08:00
yangdx
da09de1361 Merge branch 'patch-1' 2025-04-20 07:22:50 +08:00
yangdx
ea1760c0f6 Update README 2025-04-19 15:59:10 +08:00
Enoughappens
704ef16ce3 fix streaming "list index out of range" 2025-04-19 12:57:08 +08:00
drahnreb
de827abcc7 prepare rebase 2025-04-18 16:32:09 +02:00
drahnreb
9c6b5aefcb fix linting 2025-04-18 16:24:43 +02:00
drahnreb
e71f466910 fix: take global_config from storage class 2025-04-18 16:24:43 +02:00
drahnreb
0f949dd5d7 fix truncation with global_config tokenizer 2025-04-18 16:24:43 +02:00
drahnreb
0e6771b503 add: GemmaTokenizer example 2025-04-18 16:24:43 +02:00
drahnreb
20ba1eb9c2 add: to optionally replace default tiktoken Tokenizer with a custom one 2025-04-18 16:24:43 +02:00
yangdx
4fd40fd798 Update webui assets 2025-04-18 18:18:17 +08:00
yangdx
07ede43e19 Update reload graph data hint message 2025-04-18 18:17:47 +08:00
yangdx
c4af6e312a Update webui assets 2025-04-18 17:46:27 +08:00
yangdx
300a092132 Increase the threshold value of enabling middle content search. 2025-04-18 17:46:05 +08:00
yangdx
01483e2fd0 Update webui assets 2025-04-18 17:20:18 +08:00
yangdx
197cb34b18 Update empty graph message 2025-04-18 17:19:37 +08:00
yangdx
bd362c167c Bump core version to 1.3.4 2025-04-18 17:01:43 +08:00
yangdx
8b0c6701a0 Merge branch 'zd_dev' 2025-04-18 17:00:41 +08:00
yangdx
17e6cbac6c Merge branch 'dev' 2025-04-18 16:49:58 +08:00
yangdx
065676335b Merge branch 'main' of github.com:HKUDS/LightRAG 2025-04-18 15:31:44 +08:00
yangdx
346a8919a4 Remove <title> from issue template 2025-04-18 15:31:34 +08:00
Daniel.y
e2fce0a695 Merge pull request #1402 from drahnreb/drahnreb/fix-prompt-formatting
fix: correct parentheses. `system_prompt` was never formatted.
2025-04-18 08:45:39 +08:00
drahnreb
0aa994163e fix: correct parentheses. system_prompt was never formatted. 2025-04-17 23:44:14 +02:00
yangdx
fb617d544c Bump core verion to 1.3.3 2025-04-17 23:55:20 +08:00
Daniel.y
a30b2340cf Merge pull request #1399 from danielaskdd/fix-postgres-error
Fix special chars handling error for PostgreSQL graph storage
2025-04-17 23:13:52 +08:00
yangdx
e9dcac7caf Update graph db test 2025-04-17 23:09:01 +08:00
yangdx
bffb9dbdb0 Fix linting 2025-04-17 23:00:34 +08:00
yangdx
09cca6dbe6 Update graph db unit test 2025-04-17 22:58:49 +08:00
yangdx
a3ca134e97 Fix special chars problem for Postgres 2025-04-17 22:58:36 +08:00
stevezhang
6a1e9baa24 refactor(lightrag): Optimize error handling and logging
‌[During operation] Failure to properly log exception details‌
- Use traceback.format_exc() to capture comprehensive error traces when processing documents
- Log verbose error context upon failures in entity/relationship extraction
- Enhance system stability and debuggability by expanding exception catching and structured logging
2025-04-17 16:08:58 +08:00
朱 东
ecd1fc48c2 fix: add miss key for ainsert_custom_chunks 2025-04-17 11:53:01 +08:00
朱 东
bdaea6e67c feat: PGKVStorage add get_all() 2025-04-17 11:17:01 +08:00
yangdx
14b4bc96ce Fix OPENAI_API_BASE not working in .env 2025-04-17 05:20:22 +08:00
yangdx
9d990a41e6 Update webui assets 2025-04-17 04:34:09 +08:00
yangdx
67f6d14e5b Switch rotation bottun posstion 2025-04-17 04:33:34 +08:00
yangdx
6fc13d7a47 Update node size logic node expansion 2025-04-17 04:32:39 +08:00
yangdx
a185e48b87 fix: cancel pending tasks when any chunk processing fails
Modify extract_entities function to terminate all pending text chunk processing tasks when any single chunk processing fails.
2025-04-17 03:57:38 +08:00
yangdx
e01e098cac Bump api version to 0153 2025-04-17 02:33:04 +08:00
yangdx
d74549afb5 Fix linting 2025-04-17 02:32:32 +08:00
yangdx
70d1eab9e7 fix: add node_id normalization to handle backslash escaping in PostgreSQL Cypher queries 2025-04-17 02:31:56 +08:00
yangdx
d4c4a40c53 Fix M.env AX_GRAPH_NODES not working problem 2025-04-17 01:28:22 +08:00