From 59b2acf4fb2046c71ca16ebd907916323b28eb04 Mon Sep 17 00:00:00 2001 From: Pao Sheng Date: Mon, 25 Nov 2024 17:59:30 +0800 Subject: [PATCH] chore(wren-ai-service): enhance prompt for localization language (#952) --- .../src/pipelines/generation/relationship_recommendation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wren-ai-service/src/pipelines/generation/relationship_recommendation.py b/wren-ai-service/src/pipelines/generation/relationship_recommendation.py index b059f42ba..507f814a7 100644 --- a/wren-ai-service/src/pipelines/generation/relationship_recommendation.py +++ b/wren-ai-service/src/pipelines/generation/relationship_recommendation.py @@ -162,7 +162,7 @@ class RelationshipResult(BaseModel): **Please analyze these models and suggest optimizations for their relationships.** Take into account best practices in database design, opportunities for normalization, indexing strategies, and any additional relationships that could improve data integrity and enhance query performance. -Use this for the relationship name and reason: {{language}} +Use this for the relationship name and reason based on the localization language: {{language}} """