---
title: Enable LLM for Multilingual capabilities
slug: enable-llm-for-multilingual-capabilities
docTags: 
createdAt: 2025-01-10T11:21:35.542Z
---

This document provides an overview of the newly enabled setting **IS\_LLM\_MULTILINGUAL\_ENABLED** in the Gen AI system, detailing its functionality and benefits.

### IS\_LLM\_MULTILINGUAL\_ENABLED

### Functionality

- **Language Detection**: When this setting is enabled, the AI automatically detects the language of the user's query.
- **Translation**: Language detection and translation are handled by the GT model (Google Translate) by default. However, when <font color="#3eae21">IS_LLM_MULTILINGUAL_ENABLED</font> is set to True, all language-related processing, including language detection and translation, is handled by the LLM model itself, eliminating the need for Google Translate.
- **Response Generation**: Once the language is identified, the AI uses the **Gemini model** to generate responses in the same language as the query.
- **Seamless Multilingual Support**: Users can interact with the AI in their preferred language, and the system will ensure the response matches the query's language.

::Image[]{src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdwX-lewTJ36_SRWnj_jf2-_voPZy8Gc004ouwVr3LFhf_ms9TAI13puwvhdQGxINS2UaGPknk5KywUF5m2aGtzddHlmkRGKfTH63q9RcWg6LhtrH29nY7H-shF6reoH8qk4qlHCg?key=cITpkgrJspM62aREmEZE2xXJ" size="24" width="196" height="610" position="center" showCaption="false"}

### Use Case

- **Global Accessibility**: This setting allows the AI to cater to a diverse user base by supporting multiple languages.
- **Localized Interactions**: Businesses can provide AI-driven customer support in various languages without manual intervention for translation.
- **Enhanced User Experience**: Users receive personalized, context-aware responses in their native language, improving satisfaction and engagement.

### Benefits

- **Improved Usability**: Supports seamless communication across language barriers.
- **Efficiency**: Reduces the need for third-party translation tools during interactions.
- **Scalability**: Enables organizations to expand their reach to international audiences.
- **Cheaper**: LLM Translation is much cheaper than Google Translate and gives as good precision as Google Translate

### Example Workflow

1. **Query in Native Language**: A user asks a question in Hindi: <font color="#550113">*"मुझे 3 दिन की यात्रा के लिए नैनाटल के लिए एक विस्तृत यात्रा कार्यक्रम दें"*</font>*&#x20;which translates to “Give me a detailed itinerary for Nainatal for a 3 day trip”*
2. **Language Detection**: The AI detects the query language as Hindi using the GT model.
3. **Response Generation**: The Gemini model generates the response 
4. **Delivery**: The user receives the response in Hindi, matching the language of the query.

If you face any issues or queries please reach out to us at [support@engati.ai](mailto\:support@engati.ai).
