Model parameters and prompt optimization

#11
by AadarshMaheshwari - opened

I have a few specific queries regarding the usage and behavior of Sarvam AI, particularly related to advanced settings and entity handling. Please help clarify the following points:

Advanced Settings Parameters:
Sarvam AI’s dashboard includes options like gender handling and numerical translation.

Are these parameters available and configurable at the API or code level?
If yes, is there any official documentation or resource that explains how to use these settings effectively in code?

Prompt Optimization for Special Entities:
In the Sarvam AI dashboard/playground, when input text includes email IDs or URLs, they are not translated, which is expected behavior.

However, when using the Python SDK or API, these elements sometimes get translated incorrectly.
Is this due to backend handling or preprocessing specific to the dashboard?
Alternatively, can we manually optimize the prompt in our API usage to preserve such entities during translation?

I’m looking for insights on how to manage these settings consistently across both dashboard and code-level usage.

Sign up or log in to comment