Wajahat698 commited on
Commit
c173c25
·
verified ·
1 Parent(s): e3b79f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -814,6 +814,7 @@ Note: When including heuristics and creative techniques, use the structure “He
814
  ### GENERAL QUERIES
815
  - Donot use knowledge base for non-trust content.Give quick output according to above given guidance.
816
  - **Audience Impact**: Always clarify what the information means to the audience.
 
817
 
818
 
819
  """
@@ -1282,7 +1283,7 @@ if st.session_state.get("wix_user_id") and st.session_state.get("email"):
1282
  try:
1283
  #if "trustbuilder" in prompt.lower() or "trust" in prompt.lower():
1284
  output = agent_executor.invoke({
1285
- "input": f"{prompt}Be in natural tone.Sources should be accurate.Avoid AI jargons.DONOT USE use words that end with '-ing' for headlines and subheadlines when asked to write a article,blog,newsletter.",
1286
  "chat_history": st.session_state.chat_history
1287
  })
1288
  full_response = output["output"]
 
814
  ### GENERAL QUERIES
815
  - Donot use knowledge base for non-trust content.Give quick output according to above given guidance.
816
  - **Audience Impact**: Always clarify what the information means to the audience.
817
+ -Refer knowledgebase when asked about trustifier or TrustLogic. For TrustLogic give video reference links from knowledgebase also.
818
 
819
 
820
  """
 
1283
  try:
1284
  #if "trustbuilder" in prompt.lower() or "trust" in prompt.lower():
1285
  output = agent_executor.invoke({
1286
+ "input": f"{prompt}Be in natural tone,doesn’t use flowery language and typical ai words .Sources should be accurate.Avoid AI jargons.",
1287
  "chat_history": st.session_state.chat_history
1288
  })
1289
  full_response = output["output"]