Wajahat698 commited on
Commit
8526e60
·
verified ·
1 Parent(s): af9bf46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1858,7 +1858,7 @@ def handle_prompt(prompt):
1858
  # Specialized responses if keywords detected
1859
  try:
1860
  output = agent_executor.invoke({
1861
- "input": f"{prompt} Avoid flowery language and AI-Jargons.Only when asked to write an article, blog, newsletter, adhere to the following structure and ensure trust builders are fluidly interconnected for cohesive and logical flow. Use clear subheaders for each paragraph to structure the content effectively and Use explicit transitions to show how one section leads to or supports the next. Give verifiable sources.Do-not mention trustbucket names literally and word 'trust' in the copy applications.Use only knowledgebase when asked about top trust buckets and builders. ",
1862
  "chat_history": st.session_state.chat_history
1863
  })
1864
  full_response = output["output"]
 
1858
  # Specialized responses if keywords detected
1859
  try:
1860
  output = agent_executor.invoke({
1861
+ "input": f"{prompt} Avoid flowery language and AI-Jargons.Only when asked to write an article, blog, newsletter, adhere to the following structure and ensure trust builders are fluidly interconnected for cohesive and logical flow. Use clear subheaders for each paragraph to structure the content effectively and Use explicit transitions to show how one section leads to or supports the next.Do-not mention trustbucket names literally and word 'trust' in the copy applications.*Use only knowledgebase when asked about top trust buckets and builders give exactly those*. ",
1862
  "chat_history": st.session_state.chat_history
1863
  })
1864
  full_response = output["output"]