Commit graph

297 commits

Author SHA1 Message Date
yangdx
b03bb48e24 feat: Refine summary logic and add dedicated Ollama num_ctx config
- Refactor the trigger condition for LLM-based summarization of entities and relations. Instead of relying on character length, the summary is now triggered when the number of merged description fragments exceeds a configured threshold. This provides a more robust and logical condition for consolidation.
- Introduce the `OLLAMA_NUM_CTX` environment variable to explicitly configure the context window size (`num_ctx`) for Ollama models. This decouples the model's context length from the `MAX_TOKENS` parameter, which is now specifically used to limit input for summary generation, making the configuration clearer and more flexible.
- Updated `README` files, `env.example`, and default values to reflect these changes.
2025-07-14 01:55:04 +08:00
yangdx
9aa2ed0837 Merge branch 'main' into rerank 2025-07-09 15:33:39 +08:00
yangdx
e457374224 Fix linting 2025-07-09 15:33:05 +08:00
yangdx
bfa0844ecb Update README 2025-07-09 15:17:05 +08:00
yangdx
5d4484882a Merge branch 'main' into rerank 2025-07-09 03:59:04 +08:00
zrguo
04a57445da update chunks truncation method 2025-07-08 13:31:05 +08:00
yangdx
2670f8dc98 Merge branch 'main' into add-Memgraph-graph-db 2025-07-08 00:31:46 +08:00
yangdx
f417118e27 Center banner text dynamically 2025-07-07 17:28:59 +08:00
yangdx
13b2c93eec Update README.md 2025-07-07 16:44:30 +08:00
yangdx
a567601da2 Merge branch 'main' into add-Memgraph-graph-db 2025-07-05 13:14:39 +08:00
yangdx
bdfd2d53c7 Fix linting 2025-07-05 11:43:45 +08:00
yangdx
2e2b9f3b48 Refactor setup.py to utilize pyproject.toml for project installation. 2025-07-05 11:19:00 +08:00
DavIvek
80d4d5b0d5 Add Memgraph into README.md 2025-06-26 16:26:51 +02:00
zrguo
5b6ac84cd0 Update README 2025-06-26 18:08:21 +08:00
zrguo
082a338df3 Update README.md 2025-06-26 17:52:52 +08:00
zrguo
afba3df01a Update README 2025-06-26 16:20:39 +08:00
zrguo
fc7a0329df Update README 2025-06-26 16:17:00 +08:00
zrguo
145e3a238b Update README.md 2025-06-26 16:12:20 +08:00
zrguo
1d788c3e97 Update RAGAnything related 2025-06-26 16:08:14 +08:00
zrguo
c947b20bb1 Update README.md 2025-06-22 16:43:18 +08:00
zrguo
4937de8809 Update 2025-06-22 15:12:09 +08:00
zrguo
d1aeb291d6 Update README.md 2025-06-19 17:01:21 +08:00
zrguo
bc70e6066c
Merge pull request #1671 from Chaoyingz/main
Fix incorrect spacing
2025-06-19 14:17:52 +08:00
chaohuang-ai
a408465602
Update README.md 2025-06-17 10:39:30 +08:00
chaohuang-ai
caf0411889
Update README.md 2025-06-17 10:38:34 +08:00
zrguo
03dd99912d RAG-Anything Integration 2025-06-17 01:16:02 +08:00
Chaoying
b8a2598404
Fix incorrect spacing 2025-06-11 10:59:40 +08:00
zrguo
75d13cc387 fix lint 2025-06-09 09:11:50 +08:00
neno-is-ooo
199869f45c docs: Add clear initialization requirements and troubleshooting section
- Add prominent warning about required initialization steps
- Document common errors (AttributeError: __aenter__ and KeyError: 'history_messages')
- Add troubleshooting section with specific solutions
- Add inline comments in code example highlighting initialization requirements

This addresses user confusion when LightRAG fails with cryptic errors due to
missing initialization calls. The documentation now clearly states that both
await rag.initialize_storages() and await initialize_pipeline_status() must
be called after creating a LightRAG instance.
2025-06-08 12:43:17 +02:00
chaohuang-ai
20c05a7e77
Update README.md 2025-06-07 00:58:56 +08:00
chaohuang-ai
5b7129f582
Update README.md 2025-06-06 22:16:27 +08:00
zrguo
dc97b2b84f Update README.md 2025-06-05 17:51:04 +08:00
zrguo
8a726f6e08 MinerU integration 2025-06-05 17:02:48 +08:00
zrguo
c9a6256af8 Move batch_eval.py to ./reproduce/ 2025-05-27 16:09:57 +08:00
zrguo
40b10e8fcf Update insert_custom_kg 2025-05-27 16:07:04 +08:00
yangdx
e26a013fc3 Fix linting 2025-05-16 09:28:17 +08:00
yangdx
0a613208c1 Update README 2025-05-16 09:28:08 +08:00
yangdx
b9c25dfeb0 Update README 2025-05-14 14:42:52 +08:00
yangdx
db125c3764 Update README 2025-05-14 11:29:46 +08:00
yangdx
b836d02cac Optimize Ollama LLM driver 2025-05-14 01:13:03 +08:00
yangdx
4e1caf1e40 Fix lingting 2025-05-09 10:43:37 +08:00
yangdx
11fa70f7d1 Update README.md 2025-05-09 10:43:19 +08:00
yangdx
4a03218450 Update README.md 2025-05-08 05:26:59 +08:00
yangdx
9aedf1b38a Update README for QueryParam description 2025-05-05 18:30:49 +08:00
yangdx
7ccc3ffdd7 Fix linting 2025-04-30 14:10:50 +08:00
yangdx
946e55115d Update README 2025-04-30 11:07:38 +08:00
yangdx
c48ead6d8e Update README 2025-04-23 09:43:24 +08:00
yangdx
6716e19d5c Fix linting 2025-04-21 01:22:23 +08:00
yangdx
bd18c9c8ad Update sample code in README.md 2025-04-21 01:22:04 +08:00
yangdx
908953924a Update README 2025-04-21 00:25:26 +08:00