MicroFish/backend/app/services
Dominik Seemann 7f74e0a3f8 fix(i18n): translate oasis profile generator prompts to english
The oasis_profile_generator.py system prompt, both user-message
templates (individual + group personas), the context-builder section
labels embedded into the prompt context, the fallback persona templates,
and the per-batch console output banners were all written in Chinese.
Even when Accept-Language was en, the Chinese base prompt and embedded
section labels biased the LLM toward Chinese persona output.

Translate every owned prompt-assembly literal to English while
preserving all functional contracts: f-string interpolations, the
required JSON output keys, the gender/age literal-token rules, the
get_language_instruction() postfix call sites, the _normalize_gender
mapping (which still accepts Chinese gender keys from upstream),
and the rule-based country: "中国" data default. Logger calls,
docstrings, and inline comments are out of scope (issues #6 / #7)
and were not touched.

Closes #25
2026-05-07 23:36:42 +00:00
..
__init__.py Implement Interview feature for agent interactions in simulations 2025-12-08 15:55:39 +08:00
graph_builder.py Merge remote-tracking branch 'abhiyadav2345/feat/graphiti-neo4j-migration' 2026-05-05 15:03:47 +02:00
graphiti_adapter.py feat(graphiti): finalize neo4j migration with provider switch 2026-05-07 08:43:36 +00:00
oasis_profile_generator.py fix(i18n): translate oasis profile generator prompts to english 2026-05-07 23:36:42 +00:00
ontology_generator.py feat(i18n): translate ontology_generator prompts to english 2026-05-07 09:40:27 +00:00
report_agent.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
simulation_config_generator.py Merge pull request #19 from salestech-group/feat/i18n-6-externalize-backend-logs 2026-05-07 17:09:38 +02:00
simulation_ipc.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
simulation_manager.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
simulation_runner.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
text_processor.py Introduce Project ID for context management, finalizing the stateful API pipeline from file submission to graph construction. 2025-11-28 17:21:08 +08:00
zep_entity_reader.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
zep_graph_memory_updater.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
zep_tools.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00