Indic Languages which are supported via web-interface is not supported via API. Gemini web interface currently supports major Indic languages like Hindi, Bangla, Marathi, Telugu, Tamil, Malayalam, and Kannada. It supports only Hindi and Bangla via API. But not Marathi, Telugu, Tamil, Malayalam, and Kannada. Please stop restricting this languages in API.
What problem are you trying to solve with this feature?
This issue is relevant for languages with ~10 M speakers like Marathi, Telugu, Tamil, and Malayalam. All these languages have large number of native speakers. Restriciting these languages via API affects the development of LLM applications for these communities.
Any other information you'd like to share?
model = genai.GenerativeModel('gemini-pro')
Following lines give the same output:
response = model.generate_content('''మీరు తెలుగు మాట్లాడతారా?''') # Meaning "do you speak telugu?"
response = model.generate_content('''നിങ്ങൾക്ക് മലയാളത്തിൽ സംസാരിക്കാമോ?''') # Meaning "do you speak malayalam?"
Are giving the following output via API for print(response.candidates):
[index: 0
finish_reason: OTHER
]
Description of the feature request:
Indic Languages which are supported via web-interface is not supported via API. Gemini web interface currently supports major Indic languages like Hindi, Bangla, Marathi, Telugu, Tamil, Malayalam, and Kannada. It supports only Hindi and Bangla via API. But not Marathi, Telugu, Tamil, Malayalam, and Kannada. Please stop restricting this languages in API.
What problem are you trying to solve with this feature?
This issue is relevant for languages with ~10 M speakers like Marathi, Telugu, Tamil, and Malayalam. All these languages have large number of native speakers. Restriciting these languages via API affects the development of LLM applications for these communities.
Any other information you'd like to share?
model = genai.GenerativeModel('gemini-pro')
Following lines give the same output:
Are giving the following output via API for
print(response.candidates)
: [index: 0 finish_reason: OTHER ]