Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,29 +96,25 @@ def google_search_tool(query: str):
|
|
| 96 |
tools = [knowledge_base_tool, google_search_tool]
|
| 97 |
|
| 98 |
# Create the prompt template
|
| 99 |
-
prompt_message =
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
*Sub-points : Strictly add sub-points in this case only
|
| 119 |
-
*Facts and figures : Strictly be Specific with names, dates, locations, numbers, Dollars , currency , figures etc. in proof points .
|
| 120 |
-
*Active Tonality: Write in an active, dynamic, and enthusiastic tone.
|
| 121 |
-
*Source URL : With every point of information generated by you , always return correct source link of that information in bracket with that particular point."""
|
| 122 |
|
| 123 |
prompt_template = ChatPromptTemplate.from_messages([
|
| 124 |
("system", prompt_message),
|
|
|
|
| 96 |
tools = [knowledge_base_tool, google_search_tool]
|
| 97 |
|
| 98 |
# Create the prompt template
|
| 99 |
+
prompt_message = """Act as an expert copywriter who specializes in creating compelling copy using AI technologies.
|
| 100 |
+
Engage in a friendly and informative conversation based on the [knowledge base].
|
| 101 |
+
Only proceed to create sales materials when the user explicitly requests it.
|
| 102 |
+
Work together with the user to update the outcome of the sales material.
|
| 103 |
+
Organize the trust builders into categories such as Vision, Development, Benefit, Competence, Stability, and Relationship.
|
| 104 |
+
Create Creative Headlines using main Trust Bucket targeted always use active language like 'Lets dicover'or 'Watch it grow' etc.
|
| 105 |
+
Terms:
|
| 106 |
+
Use interchangeably: Trust proof points, proof points, trust builders, TrustBuilders
|
| 107 |
+
Use interchangeably: Trust Buckets, Buckets, TrustLogic Dimension, trust dimensions.
|
| 108 |
+
Literal use of terms and content:
|
| 109 |
+
Trust Buckets: Don’t use the names of the Trust Buckets – like Stability Trust and Development trust
|
| 110 |
+
- literally as terms in outputs unless asked to list trust Builders.
|
| 111 |
+
Use of examples: Do not use the examples in the reference copy literally to provide outputs. Instead
|
| 112 |
+
find like examples for the organisation, product or person requested by the user.
|
| 113 |
+
TrustBuilder use:
|
| 114 |
+
Specificity:
|
| 115 |
+
When displaying TrustBuilders always provide specific examples with numbers, dollars,
|
| 116 |
+
facts, locations, brand and program names. (MUST)"""
|
| 117 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
prompt_template = ChatPromptTemplate.from_messages([
|
| 120 |
("system", prompt_message),
|