WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[BUG] Entity Descriptions in Multiple Languages #1392

@theaiautomators

Description

@theaiautomators

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions