Commit Graph

3771 Commits

Author SHA1 Message Date
yangdx
52d8815230 Elimiate redunction chunk data fecth for niave query mode 2025-05-07 01:46:23 +08:00
Daniel.y
4b35dbcf19 Merge pull request #1533 from danielaskdd/optimize-default-value
feat: Centralize configuration and update defaults
2025-05-06 22:04:35 +08:00
yangdx
dbfcf30801 Fix linting 2025-05-06 22:03:40 +08:00
yangdx
c8ecfa2d68 feat: Centralize configuration and update defaults
This commit introduces `lightrag/constants.py` to centralize default values for various configurations across the API and core components.

Key changes:
- Added `constants.py` to centralize default values
- Improved the `get_env_value` function in `api/config.py` to correctly handle string "None" as a None value and to catch `TypeError` during value conversion.
- Updated the default `SUMMARY_LANGUAGE` to "English"
- Set default `WORKERS` to 2
2025-05-06 22:00:43 +08:00
Daniel.y
ed9d2b9c59 Merge pull request #1524 from widgit/main
Update postgres_impl.py syntax to create tables section
2025-05-06 07:34:19 +08:00
widgit
e070c19414 Update postgres_impl.py
Was missing , on the SQL Table create command
2025-05-05 23:55:19 +10:00
yangdx
83abb1fbdf Merge branch 'main' of github.com:HKUDS/LightRAG 2025-05-05 18:30:59 +08:00
yangdx
9aedf1b38a Update README for QueryParam description 2025-05-05 18:30:49 +08:00
Daniel.y
65a6b47873 Merge pull request #1518 from geekben/main
Adding Tongyi OpenAI demo to use Qwen model
2025-05-05 13:31:37 +08:00
Ben Luo
b8d59a262f Adding Tongyi OpenAI demo to use Qwen
qwen-turbo-latest (currently Qwen3) is supported by now

Signed-off-by: Ben Luo <bn0418@gmail.com>
2025-05-05 12:46:37 +08:00
yangdx
027c67a73c Skip self-referential relationships in edge processing 2025-05-05 11:58:33 +08:00
yangdx
a36abce8d6 Update commnents 2025-05-05 11:26:31 +08:00
yangdx
8c08743058 Update webui assets 2025-05-05 00:17:35 +08:00
yangdx
af42fc9b04 Hide created_at property on webui 2025-05-05 00:07:50 +08:00
yangdx
3bc240263d Bump api version to 0166 2025-05-04 23:27:40 +08:00
yangdx
8f8476b834 Update webui assets 2025-05-04 23:25:52 +08:00
yangdx
ec41ce5b3a Replaced Text components with standard labels associated via htmlFor/id to fix accessibility warnings. 2025-05-04 23:23:56 +08:00
Daniel.y
a3a32b6f59 Merge pull request #1519 from danielaskdd/fix-json-postgres
Fix JSON handling error for PostgreSQL graph storage
2025-05-04 22:42:39 +08:00
yangdx
e46a4b2079 Optimize log message 2025-05-04 22:31:57 +08:00
yangdx
9a41de51fb Optimize log message 2025-05-04 22:20:44 +08:00
yangdx
dcb2a72462 Fix JSON handling error for PostgreSQL graph storage 2025-05-04 22:18:56 +08:00
Daniel.y
ec8e6a1571 Merge pull request #1512 from danielaskdd/fix-json-postgres
Fix node names with JSON formatting were mistakenly interpreted as JSON objects for PostgreSQL AGE graph storage
2025-05-04 02:29:58 +08:00
yangdx
1213f53fc9 Fix mistakenly interpreting a string as JSON for PostgreSQL AGE graph storage 2025-05-04 02:20:43 +08:00
Daniel.y
94a2c09198 Merge pull request #1511 from danielaskdd/Persistent-llm-cache
Persistent LLM cache on error
2025-05-03 23:03:43 +08:00
yangdx
b9b86df786 Persistent LLM cache on error 2025-05-03 23:00:09 +08:00
Daniel.y
73fa94a013 Merge pull request #1510 from danielaskdd/fix-time-zone
Fix time zone and created_at problem
2025-05-03 22:36:38 +08:00
yangdx
2063f6c6c8 Fix created_at handling bug for Milvus 2025-05-03 21:51:45 +08:00
yangdx
ca240fa463 Remove buggy data migration function 2025-05-03 16:23:03 +08:00
yangdx
045993f7d2 Remove deprecated search_by_prefix 2025-05-03 11:17:49 +08:00
Daniel.y
b197d95715 Merge pull request #1508 from balaji-munusamy/make-bedrock-complete-generic
Made bedrock_complete generic
2025-05-03 01:00:19 +08:00
yangdx
3b4015f6fd Translate commnet to English 2025-05-03 00:54:17 +08:00
yangdx
08e8a7ead1 Fix linting 2025-05-03 00:46:28 +08:00
yangdx
debe8f329a Fix created_at problem for Tidb vector storage 2025-05-03 00:46:10 +08:00
yangdx
81071df982 Fix timezone bugs for PostgreSQL vector storage 2025-05-03 00:44:55 +08:00
Balaji Munusamy
c3bc0eb53b made bedrock complete generic 2025-05-02 18:25:48 +02:00
yangdx
c3df1908dc Fix created_at probelm for MongoDB vector storage 2025-05-02 21:48:01 +08:00
yangdx
02de7420b2 Fix create_at problem for Tidb vector db 2025-05-02 21:28:49 +08:00
yangdx
6021796a61 Fix created_at problem for Qdrant vector db 2025-05-02 16:38:35 +08:00
yangdx
ce96947502 Fix created_at problem for Milvus vector db 2025-05-02 16:31:22 +08:00
yangdx
0dc712e0bc Fix created_at handling in Chroma vector db 2025-05-02 16:21:48 +08:00
yangdx
011659b8bc Fix created_at handling in FAISS vector db 2025-05-01 23:33:54 +08:00
yangdx
ca85f8a461 Convert timestamp to integer in vector DB storage 2025-05-01 23:25:47 +08:00
yangdx
9ff3542ab2 Fix time handling bugs for graph data 2025-05-01 15:14:15 +08:00
yangdx
1b049b4214 Fix time handling bugs for PostgreSQL 2025-05-01 15:13:42 +08:00
yangdx
8c7e9aceb2 Fix time handle bugs for nano vector db 2025-05-01 11:34:38 +08:00
yangdx
6ec36ee538 Fix time handle bugs for _get_edge_data 2025-05-01 11:33:42 +08:00
yangdx
36f8787bc7 Fix linting 2025-05-01 10:04:31 +08:00
yangdx
950d42c527 Store utc time in PostgreSQL 2025-05-01 10:04:17 +08:00
yangdx
a561be0cff Fix time zone problem of doc status 2025-05-01 02:16:19 +08:00
yangdx
3117bc2e4a Remove buggy examplesfiles 2025-04-30 18:48:41 +08:00