Update LightRAG setup: Kimi 2.5 entity extraction & Cerebras+Qwen3 options#1
Update LightRAG setup: Kimi 2.5 entity extraction & Cerebras+Qwen3 options#1OnlyTerp wants to merge 1 commit into
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
…lti-option .env - Replace single .env example with three clear options: Option A: Kimi 2.5 + Fireworks (recommended) Option B: Cerebras + Qwen 3 (fastest ingestion) Option C: Free local Ollama setup - Add LLM_BINDING_HOST config for Kimi and Cerebras endpoints - Add API key signup links for Moonshot, Cerebras, and Fireworks - Update prerequisites to recommend Kimi 2.5 and Cerebras+Qwen3 - Add entity extraction model comparison table to part3-lightrag-setup.md - Strengthen recommendation text with specific use-case guidance - Update troubleshooting slow ingestion to reference new models - Keep both README.md and part3-lightrag-setup.md in sync Co-Authored-By: Rob <onerobby@gmail.com>
35e9a9f to
e0244cb
Compare
| > **Where to get API keys:** | ||
| > - **Kimi / Moonshot:** [platform.moonshot.cn](https://platform.moonshot.cn) — sign up, create an API key | ||
| > - **Cerebras:** [cloud.cerebras.ai](https://cloud.cerebras.ai) — free tier available, very generous limits | ||
| > - **Fireworks:** [fireworks.ai](https://fireworks.ai) — sign up for an API key |
There was a problem hiding this comment.
🟡 Security tip for chmod 600 on .env file dropped from part3-lightrag-setup.md
The old part3-lightrag-setup.md (line 87) included an important security tip: > **Security tip:** Set restrictive permissions on this file: \chmod 600 ~/.hermes/lightrag/.env`. This was removed during the rewrite but was kept in README.md:674. Since the .env` file contains API keys, users reading only the standalone part3 guide will miss this security guidance, potentially leaving their API keys world-readable.
| > **Where to get API keys:** | |
| > - **Kimi / Moonshot:** [platform.moonshot.cn](https://platform.moonshot.cn) — sign up, create an API key | |
| > - **Cerebras:** [cloud.cerebras.ai](https://cloud.cerebras.ai) — free tier available, very generous limits | |
| > - **Fireworks:** [fireworks.ai](https://fireworks.ai) — sign up for an API key | |
| > **Security tip:** Set restrictive permissions on this file: `chmod 600 ~/.hermes/lightrag/.env` | |
| > **Where to get API keys:** | |
| > - **Kimi / Moonshot:** [platform.moonshot.cn](https://platform.moonshot.cn) — sign up, create an API key | |
| > - **Cerebras:** [cloud.cerebras.ai](https://cloud.cerebras.ai) — free tier available, very generous limits | |
| > - **Fireworks:** [fireworks.ai](https://fireworks.ai) — sign up for an API key |
Was this helpful? React with 👍 or 👎 to provide feedback.
Summary
Replaces the single generic
.envexample in the LightRAG setup section with three clearly labeled configuration options:Also adds
LLM_BINDING_HOSTfor custom API endpoints, an "API keys" quick-reference with signup links, the entity extraction model comparison table (was missing frompart3-lightrag-setup.md), and stronger recommendation copy. Updated bothREADME.mdandpart3-lightrag-setup.mdto stay in sync.Updates since last revision
mainto resolve merge conflicts with the security-hardening commit (placeholder API keys now use<your-xxx-api-key>format throughout)chmod 600security tip frommaininREADME.mdReview & Testing Checklist for Human
LLM_BINDING_HOSTis a real LightRAG env var. This was not present in the original examples. If LightRAG uses a different name (e.g.LLM_BINDING_BASE_URL,LLM_BASE_URL), the Kimi and Cerebras examples will silently fail to connect. This is the highest-risk item.https://api.moonshot.cn/v1(Kimi) andhttps://api.cerebras.ai/v1(Cerebras) should be confirmed against current provider docs.kimi-2.5,qwen-3-32b,qwen3:32b(Ollama variant) — confirm these match what each provider actually expects..envoptions, and recommendation text should be identical betweenREADME.md(Part 3 inline section) andpart3-lightrag-setup.md. Note:part3-lightrag-setup.mdis currently missing thechmod 600security tip thatREADME.mdhas — minor inconsistency.Notes
.envinto labeled options, addingLLM_BINDING_HOST, and adding the API key links.part3-lightrag-setup.mdhad larger changes — it was still referencinggpt-4.1-minias the default and lacked the model comparison table entirely.part3-lightrag-setup.mdwas also updated to recommend Cerebras + Qwen 3 / Kimi 2.5 instead of the old GPT-4.1-mini / Claude Haiku suggestion.Link to Devin session: https://app.devin.ai/sessions/be57baa807b64c75b7f3cfe3596230d8
Requested by: @OnlyTerp