ApeRAG icon indicating copy to clipboard operation
ApeRAG copied to clipboard

[BUG] Entity Descriptions in Multiple Languages

Open theaiautomators opened this issue 4 months ago • 1 comments

Describe the bug

There isn't a way to force the language of the graph descriptions. I have a 50 page PDF that is in English and for some reason, the LLM descriptions are coming out in a mix of languages.

Even setting the Default language to English in the LightRAGConfig in the lightrag_manager.py file and changing the prompts in the LightRAG prompt.py file didn't see to fix it.

To Reproduce

Steps to reproduce the behavior: Create a new collection Upload this document - https://www.fia.com/system/files/documents/2025_fia_formula_1_financial_regulations_-issue_25-_2025-07-31.pdf Review the descriptions in the graph - large spread of languages from English, to French, to Spanish

Ideally we'd have an ENV that sets the Default Language

Image

Additional context

  • Version DeepRAG v0.5.0-alpha.14

theaiautomators avatar Oct 17 '25 12:10 theaiautomators

This issue has been marked as stale because it has been open for 30 days with no activity

github-actions[bot] avatar Nov 17 '25 00:11 github-actions[bot]