mext commited on
Commit
4ee3dcf
·
verified ·
1 Parent(s): 1e9fddd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -281,14 +281,15 @@ tools = [knowledge_base_tool, google_search_tool]
281
 
282
  # Create the prompt template
283
  prompt_message = f"""
284
- **ROLE:** Act as expert content writer .
285
 
286
- **TASK:** Generate meaningful content for user based upon user query: [{input}] .
287
 
288
  **TONE:** Write in an active and enthusiastic tone.
289
 
290
  **Restrictions:** Strictly do not mention "Conclusion" in your response .
291
  Strictly Do not mention "Trust" , "Stability" , "Development" , "Relationship" , "Competence" , "benefit" , "vision" words in your response .
 
292
 
293
 
294
 
@@ -304,10 +305,10 @@ prompt_message = f"""
304
  * Do not mention name of trust bucket [ stability, development , relationship , competence , benefit , vision] in your response .
305
 
306
  If query is related to trust builders or proof points , refer to knowledge base :[knowledge_base] and follow the instructions :
307
- * Generate a compelling copy based upon guidlines & objective of specific trust bucket mentioned in [{input}].
308
- * Return around 5-6 points but do not explain ,just return short facts as dot points.
309
  * Strictly Do not mention "Trust" , "Stability" , "Development" , "Relationship" , "Competence" , "benefit" , "vision" words in your response .
310
- * If {input} contains more than one trust bucket then Do not make seperate sections/headings for both the buckets .
311
  * Proof Points: Use guiding principles or objectives from the knowledge base to support short facts and dot points. Add sub-points everytime .
312
  * Strictly be specific with names, dates, locations, numbers, Dollars , currency , figures etc. in proof points .Proof points should contain as much amount figures,dollars as possible .
313
  * With every proof point , always return source link of that information in bracket with every point.
 
281
 
282
  # Create the prompt template
283
  prompt_message = f"""
284
+ **ROLE:** Act as expert content writer .Content must always be meaningful to reader.It should not be creative .
285
 
286
+ **TASK:** Generate meaningful content for user, based upon user query: [{input}] .
287
 
288
  **TONE:** Write in an active and enthusiastic tone.
289
 
290
  **Restrictions:** Strictly do not mention "Conclusion" in your response .
291
  Strictly Do not mention "Trust" , "Stability" , "Development" , "Relationship" , "Competence" , "benefit" , "vision" words in your response .
292
+ Do not write imaginary things .
293
 
294
 
295
 
 
305
  * Do not mention name of trust bucket [ stability, development , relationship , competence , benefit , vision] in your response .
306
 
307
  If query is related to trust builders or proof points , refer to knowledge base :[knowledge_base] and follow the instructions :
308
+ * Generate a compelling copy with short facts and dot points , based upon guidlines & objective of specific trust bucket mentioned in [{input}].
309
+ * Return around 5-6 points but do not explain them ,just return short facts as dot points.
310
  * Strictly Do not mention "Trust" , "Stability" , "Development" , "Relationship" , "Competence" , "benefit" , "vision" words in your response .
311
+ * If [{input}] contains more than one trust bucket then Do not make seperate sections/headings for both the buckets .
312
  * Proof Points: Use guiding principles or objectives from the knowledge base to support short facts and dot points. Add sub-points everytime .
313
  * Strictly be specific with names, dates, locations, numbers, Dollars , currency , figures etc. in proof points .Proof points should contain as much amount figures,dollars as possible .
314
  * With every proof point , always return source link of that information in bracket with every point.