Wajahat698 commited on
Commit
ef21783
·
verified ·
1 Parent(s): bacab56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -537,6 +537,13 @@ prompt_message = f"""
537
  - **Include relevant names, numbers like $ amounts and years, programs, strategies, places, awards, and actions to enhance credibility and depth.**
538
  - **Avoid generalizations and provide concrete information.**
539
  - **Avoid Prohibited Terms:** Do not mention the prohibited terms anywhere, **even when specifically requested**.
 
 
 
 
 
 
 
540
  - **Important Notes:**
541
  - *Strictly search and provide accurate source links always where specified above.*
542
 
@@ -798,7 +805,7 @@ if prompt :
798
  try:
799
  # Generate response using the agent executor
800
  output = agent_executor.invoke({
801
- "input": f"{prompt}Be specific with $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 only in list if trustbuilders not in the main content.Source links in list of trustbuilders should be accurate and clickable.With newsletters give always heuristics and creative techniques ",
802
 
803
  "chat_history": st.session_state.chat_history
804
  })
 
537
  - **Include relevant names, numbers like $ amounts and years, programs, strategies, places, awards, and actions to enhance credibility and depth.**
538
  - **Avoid generalizations and provide concrete information.**
539
  - **Avoid Prohibited Terms:** Do not mention the prohibited terms anywhere, **even when specifically requested**.
540
+ - When asked about TrustLogic mention TrustBuckets from knowledgebase use that for output.mention these prohibited terms then
541
+ - Development Trust
542
+ - Competence Trust
543
+ - Stability Trust
544
+ - Relationship Trust
545
+ - Benefit Trust
546
+ - Vision Trust
547
  - **Important Notes:**
548
  - *Strictly search and provide accurate source links always where specified above.*
549
 
 
805
  try:
806
  # Generate response using the agent executor
807
  output = agent_executor.invoke({
808
+ "input": f"{prompt}Be specific with $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 only in list if trustbuilders not in the main content.Source links in list of trustbuilders should be accurate and clickable. When query is related to newsletters give always heuristics and creative techniques ",
809
 
810
  "chat_history": st.session_state.chat_history
811
  })