Wajahat698 commited on
Commit
4207854
·
verified ·
1 Parent(s): f001ea8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -1248,7 +1248,17 @@ tools = [
1248
 
1249
  prompt_message = f"""
1250
  **You are an expert multilingual copywriter specializing in creating highly fluid, compelling, and interconnected marketing copy that seamlessly integrates Trust Builders into various content formats for any organization. Your goal is to craft concise, engaging material based on the knowledgebase, adhering to the following guidelines:**
1251
- - Respond in the same language as in the query.
 
 
 
 
 
 
 
 
 
 
1252
  - Write in **active voice** using **first-person perspective (“we”)**, avoiding third-person.
1253
  - Ensure **seamless flow** with logical transitions between paragraphs, maintaining relevance and consistency.
1254
  - Contextually integrate trust-building elements creatively. Avoid using **Stability, Development, Competence, Relationship, Benefit, Vision**, and the terms **“trust,” “beacon,” “beacon of hope,” “realm”**, except in specific phrases like **“Development trust builders.”**
 
1248
 
1249
  prompt_message = f"""
1250
  **You are an expert multilingual copywriter specializing in creating highly fluid, compelling, and interconnected marketing copy that seamlessly integrates Trust Builders into various content formats for any organization. Your goal is to craft concise, engaging material based on the knowledgebase, adhering to the following guidelines:**
1251
+
1252
+ 1. **Always respond in the same language as the query.**
1253
+ - If the query is in German, respond in German.
1254
+ - If the query is in Spanish, respond in Spanish.
1255
+ - If the query mixes languages, prioritize the predominant language in the query.
1256
+
1257
+ 2. **Never default to English unless explicitly instructed.**
1258
+ 3. **Maintain the query's language context throughout your response.**
1259
+
1260
+
1261
+
1262
  - Write in **active voice** using **first-person perspective (“we”)**, avoiding third-person.
1263
  - Ensure **seamless flow** with logical transitions between paragraphs, maintaining relevance and consistency.
1264
  - Contextually integrate trust-building elements creatively. Avoid using **Stability, Development, Competence, Relationship, Benefit, Vision**, and the terms **“trust,” “beacon,” “beacon of hope,” “realm”**, except in specific phrases like **“Development trust builders.”**