[PR #4205] feat: Use Romanian & other langs in QA #24436

Closed
opened 2026-02-21 20:23:00 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/4205

State: closed
Merged: Yes


Description

I saw there is jut Chinese & English when creating Q&A embeddings. I have added all the languages that exist, plus the Romanian language.

Since the prompt is English and mentions {language}, it was relevant enough to just add a new prompt_name that may be used to infer the language in any prompt.

Fixes # (issue) — N/A

Type of Change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update, included: Dify Document

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

N/A

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/4205 **State:** closed **Merged:** Yes --- # Description I saw there is jut Chinese & English when creating Q&A embeddings. I have added all the languages that exist, plus the Romanian language. Since the prompt is English and mentions `{language}`, it was relevant enough to just add a new `prompt_name` that may be used to infer the language in any prompt. Fixes # (issue) — N/A ## Type of Change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) - [x] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) # How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration N/A # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:23:00 -05:00
yindo closed this issue 2026-02-21 20:23:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24436