Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -924,7 +924,7 @@ if prompt :
|
|
| 924 |
# Generate response using the agent executor
|
| 925 |
output = agent_executor.invoke({
|
| 926 |
|
| 927 |
-
"input": f"{prompt} Please when providing source links should be accurate search on google and it and them embed it only in list of trustbuilders not in the main content.Source links in list of trustbuilders should be accurate and clickable.Aim to humanize the text—use natural, approachable language that avoids flowery or overly formal expressions.",
|
| 928 |
|
| 929 |
|
| 930 |
"chat_history": st.session_state.chat_history
|
|
|
|
| 924 |
# Generate response using the agent executor
|
| 925 |
output = agent_executor.invoke({
|
| 926 |
|
| 927 |
+
"input": f"{prompt} Please when providing source links should be accurate search on google and it and them embed it only in list of trustbuilders not in the main content.Source links in list of trustbuilders should be accurate and clickable.Aim to humanize the text—use natural, approachable language that avoids flowery or overly formal expressions.When query is related to newsletters give always heuristics and creative techniques",
|
| 928 |
|
| 929 |
|
| 930 |
"chat_history": st.session_state.chat_history
|