Overview of Multilingual Support
mainHindsight automatically detects the language of your input and responds in the same language. Facts, entities, and reflect responses are preserved in their original language without translation to English. This behavior is driven by LLM prompt instructions rather than external detection libraries, allowing it to handle mixed-language content naturally.
Key Behaviors
- Retain: Extracts and stores facts in the original language.
- Entities: Stored in their native script (e.g.,
张伟stays张伟, not "Zhang Wei"). - Reflect: Generates responses in the same language as the query.
- Mixed Language: Gracefully handles content containing multiple languages (e.g., Chinese text with English company names).