Skip to content

Pr/multilingual#121

Open
raghavm243512 wants to merge 18 commits into
mainfrom
pr/multilingual
Open

Pr/multilingual#121
raghavm243512 wants to merge 18 commits into
mainfrom
pr/multilingual

Conversation

@raghavm243512
Copy link
Copy Markdown
Collaborator

@raghavm243512 raghavm243512 commented May 18, 2026

initial multilingual version

Easily extendable to many language using the add_culture_data script. This will do translation, gender consistent naming, suggest names, extend data, etc. So if anyone wants to run a language not committed in EVA data, it is trivially easy to do so.
Readme section showing basic of adding a language.

This adds:
Multilingual data schema and content (initial utterances, system prompt, name aliases)
multilingual support in code
Prompt updates to support multi languages
Script to "add a language" with high degree of automation
WER metric normalization rules, dynamically set per language and creatable via LLM through adding script
Automatic .env.example adjustments (maintains config app accuracy)

Still TODO:

  • Currencies
  • Phone numbers (airline only problem)
  • Actually committing the translations (didn't want to burn credits until finalized)
  • Analysis
  • Testing a large variety of models to ensure they actually get the language code they expected (es-MX vs es, for example)

Copy link
Copy Markdown
Collaborator

@katstankiewicz katstankiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also add ensure_ascii=False to AuditLog save()

Comment thread src/eva/utils/culture.py Outdated
Comment thread scripts/run_text_only.py Outdated
Comment thread scripts/run_text_only.py Outdated
Comment thread src/eva/assistant/pipeline/services.py Outdated
),
audit_log=audit_log,
api_key=params["api_key"],
base_url=params.get("url", ""),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
base_url=params.get("url", ""),

we don't need a url for openai services

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this because I was testing a side project (self hosted S2S agent). With any luck we will need this so we can leave or remove up to you

Comment thread scripts/add_culture_data.py Outdated
Comment thread scripts/add_culture_data.py
Comment thread scripts/add_culture_data.py Outdated
Comment thread scripts/add_culture_data.py Outdated
@raghavm243512 raghavm243512 marked this pull request as ready for review May 28, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants