Skip to content

Commit

Permalink
feat(wren-ai-service): prompt enhancement to focus on localization la…
Browse files Browse the repository at this point in the history
…nguage (#965)
  • Loading branch information
paopa authored Nov 29, 2024
1 parent 4869d67 commit 34db1a4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""


Expand Down

0 comments on commit 34db1a4

Please sign in to comment.