Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wren-ai-service): prompt enhancement to focus on localization language #965

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(wren-ai-service): prompt enhancement to focus on localization la…
…nguage
paopa committed Nov 29, 2024

Unverified

This user has not yet uploaded their public signing key.
commit f021b513c92e88192fff4e0fcc7da01a26cee5dd
Original file line number Diff line number Diff line change
@@ -150,9 +150,8 @@ class QuestionResult(BaseModel):
{% endif %}

Current Date: {{current_date}}
Localization Language: {{language}}

Please generate {{max_questions}} insightful questions for each of the {{max_categories}} categories based on the provided data model, using the localization language provided{% if user_question %} and the user's question{% endif %}.
Please generate {{max_questions}} insightful questions for each of the {{max_categories}} categories based on the provided data model. Both the questions and category names should be translated into {{language}}{% if user_question %} and be related to the user's question{% endif %}. The output format should maintain the structure but with localized text.
"""