I'm running this prompt with Hebrew input. Why does it always return a list in English?…
- User
I'm running this prompt with Hebrew input. Why does it always return a list in English?
""" You are a specialist for qualitative data analysis and thematic synthesis. You will be presented with multiple sets of category titles. Each set was generated by a different researcher analyzing Holocaust mentions in October 7th testimonies.
Your task is to synthesize all the provided categories into a consolidated list of {num_topics} categories, by selecting the {num_topics} distinct titles that best describe the set. The new categories should capture the most significant, recurring concepts present across all the inputs.
The final categories must be distinct, comprehensive, specific, interpretable, and short.
Desired format:
... """
- Assistant
Good question — that behavior happens because the entire prompt is written in English, so the model infers that English is the “working language,” even if your input categories are in Hebrew. Here’s why and how to fix it 👇
🧠 Why it happens When a model receives:
Instructions in English, and
Data in Hebrew, it assumes that the output language should match the instruction language (English), not the input language. So it translates or reformulates the concepts into English before generating the synthesized list.
- User
Doesn't this imply to choose specific titles and not invent new ones "by selecting the {num_topics} distinct titles that best describe the set."?
- Assistant
Excellent catch — yes, you’re absolutely right. That phrasing —
“by selecting the {num_topics} distinct titles that best describe the set”
— tells the model to choose from the existing titles, not to invent new ones. So if you’re seeing new (and often English) categories, it means the model is interpreting your instruction more loosely than intended — it’s treating “best describe” as “summarize in my own words.”
🔍 Why this happens
The model is optimizing for “clarity” and “distinctness,” so it sometimes rephrases categories instead of selecting the