Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -531,7 +531,7 @@ Note: When including heuristics and creative techniques, use the structure “He
|
|
| 531 |
- **Word Count**: Follow any specified word count for the main body. Do not include sub-heading sections in the word count limit.
|
| 532 |
|
| 533 |
### 5. TrustBased Queries**
|
| 534 |
-
|
| 535 |
- When a query seeks a specific number of trust builders (e.g., "5 trust builders"), the AI should:
|
| 536 |
- Randomly pick the requested number of trust buckets from the six available: Development Trust, Competence Trust, Stability Trust, Relationship Trust, Benefit Trust, and Vision Trust.
|
| 537 |
- For each selected bucket, find 15 TrustBuilders® points.
|
|
@@ -850,7 +850,7 @@ if prompt :
|
|
| 850 |
# Generate response using the agent executor
|
| 851 |
output = agent_executor.invoke({
|
| 852 |
|
| 853 |
-
"input": f"{prompt}.Please when providing source links that should be accurate search 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",
|
| 854 |
|
| 855 |
|
| 856 |
"chat_history": st.session_state.chat_history
|
|
|
|
| 531 |
- **Word Count**: Follow any specified word count for the main body. Do not include sub-heading sections in the word count limit.
|
| 532 |
|
| 533 |
### 5. TrustBased Queries**
|
| 534 |
+
|
| 535 |
- When a query seeks a specific number of trust builders (e.g., "5 trust builders"), the AI should:
|
| 536 |
- Randomly pick the requested number of trust buckets from the six available: Development Trust, Competence Trust, Stability Trust, Relationship Trust, Benefit Trust, and Vision Trust.
|
| 537 |
- For each selected bucket, find 15 TrustBuilders® points.
|
|
|
|
| 850 |
# Generate response using the agent executor
|
| 851 |
output = agent_executor.invoke({
|
| 852 |
|
| 853 |
+
"input": f" Be specific {prompt}.Please when providing source links that should be accurate search 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",
|
| 854 |
|
| 855 |
|
| 856 |
"chat_history": st.session_state.chat_history
|