QADataGenerator doesn't generate QA pairs in non-English languages #34099
Labels
AI
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
When we use the
QADataGenerator(model_config=openai_config)
with Brazilian Portuguese texts, the QA pairs generated are always in English.I believe that is a known issue, but it needs to be documented clearly, as customers expect LLM-based tools to work in non-English languages.
To Reproduce
Pass in Portuguese text to this code:
And get English answers instead.
Expected behavior
Portuguese answers.
The text was updated successfully, but these errors were encountered: