Spaces:
Build error
Build error
Mark commited on
Commit ·
9e91f34
1
Parent(s): abafd11
dev updates
Browse files- models/prompts_client.py +11 -4
models/prompts_client.py
CHANGED
|
@@ -15,13 +15,20 @@ class Prompts:
|
|
| 15 |
|
| 16 |
# Define our system prompt:
|
| 17 |
user_prompt = f"You are looking at a website titled {website.title}"
|
| 18 |
-
user_prompt += "
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
user_prompt += website.text
|
| 22 |
#
|
| 23 |
prompts = {
|
| 24 |
"system_prompt": system_prompt,
|
| 25 |
-
"user_prompt": user_prompt
|
| 26 |
}
|
| 27 |
return prompts
|
|
|
|
| 15 |
|
| 16 |
# Define our system prompt:
|
| 17 |
user_prompt = f"You are looking at a website titled {website.title}"
|
| 18 |
+
user_prompt += (f"Please summarize the content of {website.title}'s website with a focus on "
|
| 19 |
+
f"highlighting its unique products/services, "
|
| 20 |
+
f"core values, and competitive advantages. Ensure the summary is compelling to "
|
| 21 |
+
f"potential customers by emphasizing how the business meets their needs and solves "
|
| 22 |
+
f"their problems. Additionally, make the summary attractive to investors by showcasing "
|
| 23 |
+
f"the company's market potential, growth strategies, and innovative aspects. Conclude "
|
| 24 |
+
f"with the company's vision and commitment to future development."
|
| 25 |
+
f"please provide a short summary of this website in markdown. "
|
| 26 |
+
f"If it includes news or announcements, then summarize these too.\n")
|
| 27 |
+
user_prompt += "The contents of this website is as follows;\n\n"
|
| 28 |
user_prompt += website.text
|
| 29 |
#
|
| 30 |
prompts = {
|
| 31 |
"system_prompt": system_prompt,
|
| 32 |
+
"user_prompt": user_prompt,
|
| 33 |
}
|
| 34 |
return prompts
|