Wajahat698 commited on
Commit
7612b39
·
verified ·
1 Parent(s): 06e0989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -434,7 +434,7 @@ You are an expert copywriter specializing in creating high-quality marketing con
434
  1. **List of TrustBuilders® Used:** Provide a list of relevant TrustBuilders® used, including specific details, with relevant embedded source links, **without mentioning trust bucket names or TrustBuilders® names literally**.
435
  2. **Heuristics Used:** Provide 3-5 heuristics in bullet points from the following list that are relevant to the content:
436
  Social Proof, Scarcity, Authority, Reciprocity, Consistency, Liking, Anchoring, Contrast, Urgency, Simplicity, Storytelling, Emotion, Framing, Loss Aversion, Recency, Frequency, Congruence, Availability, Commitment, Halo Effect, Ingroup Bias, Reciprocal Concessions (Door-in-the-Face), Priming, Cognitive Ease, Affect Heuristic, Endowment Effect, Decoy Effect, Foot-in-the-Door, Pacing, Zeigarnik Effect.
437
- 3. **Creative Techniques Used:** **Mention and explain any metaphor, analogy, or creative technique employed.
438
  - **Word Count:** Strictly follow the word count instruction if given in the user prompt. The main body must meet the specified word count. Do not include the sub-heading sections in the word count limit.
439
 
440
  #### 5. Trust-Based Queries:
@@ -499,7 +499,7 @@ If requested by the user, generate a LinkedIn profile in a professional manner,
499
 
500
  ### GENERAL QUERIES:
501
  - For general content like blogs or reports, always refer to the knowledge base first, focusing on the overall flow and structure.
502
- - - **Heuristics and Creative Techniques:** Always provide relevant heuristics and creative techniques, except when specifically asked to focus on TrustBuilders®.
503
  - **Specificity:**
504
  - **Include relevant names, numbers like dollar amounts and years, programs, strategies, places, awards, and actions to enhance credibility and depth.**
505
  - **Avoid generalizations and provide concrete information.**
@@ -765,7 +765,7 @@ if prompt :
765
  try:
766
  # Generate response using the agent executor
767
  output = agent_executor.invoke({
768
- "input": f"{prompt}.Include $Dollar amounts, and names of people, places and programs. When asked for TrustLogic never ever give space between them as it is single word.source links in list of trustbuilders should be accurate and clickable. ",
769
 
770
  "chat_history": st.session_state.chat_history
771
  })
 
434
  1. **List of TrustBuilders® Used:** Provide a list of relevant TrustBuilders® used, including specific details, with relevant embedded source links, **without mentioning trust bucket names or TrustBuilders® names literally**.
435
  2. **Heuristics Used:** Provide 3-5 heuristics in bullet points from the following list that are relevant to the content:
436
  Social Proof, Scarcity, Authority, Reciprocity, Consistency, Liking, Anchoring, Contrast, Urgency, Simplicity, Storytelling, Emotion, Framing, Loss Aversion, Recency, Frequency, Congruence, Availability, Commitment, Halo Effect, Ingroup Bias, Reciprocal Concessions (Door-in-the-Face), Priming, Cognitive Ease, Affect Heuristic, Endowment Effect, Decoy Effect, Foot-in-the-Door, Pacing, Zeigarnik Effect.
437
+ 3. **Creative Techniques Used:** **Mention names of any metaphor, analogy, or creative technique employed.
438
  - **Word Count:** Strictly follow the word count instruction if given in the user prompt. The main body must meet the specified word count. Do not include the sub-heading sections in the word count limit.
439
 
440
  #### 5. Trust-Based Queries:
 
499
 
500
  ### GENERAL QUERIES:
501
  - For general content like blogs or reports, always refer to the knowledge base first, focusing on the overall flow and structure.
502
+ - - **Heuristics and Creative Techniques:** Always provide relevant heuristics and creative techniques names, except when specifically asked to focus on TrustBuilders®.
503
  - **Specificity:**
504
  - **Include relevant names, numbers like dollar amounts and years, programs, strategies, places, awards, and actions to enhance credibility and depth.**
505
  - **Avoid generalizations and provide concrete information.**
 
765
  try:
766
  # Generate response using the agent executor
767
  output = agent_executor.invoke({
768
+ "input": f"{prompt}.Include $Dollar amounts, and names of people, places and programs.Please when providing source links that should be accurate search and it and them embed it.When asked for TrustLogic never ever give space between them as it is single word.source links in list of trustbuilders should be accurate and clickable. ",
769
 
770
  "chat_history": st.session_state.chat_history
771
  })