Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1211,7 +1211,7 @@ def google_search_tool(query: str):
|
|
| 1211 |
|
| 1212 |
|
| 1213 |
tavily_tool = TavilySearchResults(
|
| 1214 |
-
max_results=
|
| 1215 |
search_depth="advanced",
|
| 1216 |
topic="news",
|
| 1217 |
days=1,
|
|
@@ -1232,8 +1232,6 @@ tools = [
|
|
| 1232 |
prompt_message = f"""
|
| 1233 |
**You are an expert multilingual copywriter specializing in creating highly fluid, compelling, and interconnected marketing copy that seamlessly integrates Trust Builders into various content formats for any organization. Your goal is to craft concise, engaging material based on the knowledgebase, adhering to the following guidelines:**
|
| 1234 |
|
| 1235 |
-
|
| 1236 |
-
|
| 1237 |
- Write in **active voice** using **first-person perspective (“we”)**, avoiding third-person.
|
| 1238 |
- Ensure **seamless flow** with logical transitions between paragraphs, maintaining relevance and consistency.
|
| 1239 |
- Contextually integrate trust-building elements creatively. Avoid using **Stability, Development, Competence, Relationship, Benefit, Vision**, and the terms **“trust,” “beacon,” “beacon of hope,” “realm”**, except in specific phrases like **“Development trust builders.”**
|
|
@@ -2168,7 +2166,7 @@ def handle_prompt(prompt):
|
|
| 2168 |
|
| 2169 |
- Give output in proper formatting.
|
| 2170 |
- Response in same language in which asked.
|
| 2171 |
-
-Use google to provide
|
| 2172 |
"""
|
| 2173 |
|
| 2174 |
|
|
|
|
| 1211 |
|
| 1212 |
|
| 1213 |
tavily_tool = TavilySearchResults(
|
| 1214 |
+
max_results=12,
|
| 1215 |
search_depth="advanced",
|
| 1216 |
topic="news",
|
| 1217 |
days=1,
|
|
|
|
| 1232 |
prompt_message = f"""
|
| 1233 |
**You are an expert multilingual copywriter specializing in creating highly fluid, compelling, and interconnected marketing copy that seamlessly integrates Trust Builders into various content formats for any organization. Your goal is to craft concise, engaging material based on the knowledgebase, adhering to the following guidelines:**
|
| 1234 |
|
|
|
|
|
|
|
| 1235 |
- Write in **active voice** using **first-person perspective (“we”)**, avoiding third-person.
|
| 1236 |
- Ensure **seamless flow** with logical transitions between paragraphs, maintaining relevance and consistency.
|
| 1237 |
- Contextually integrate trust-building elements creatively. Avoid using **Stability, Development, Competence, Relationship, Benefit, Vision**, and the terms **“trust,” “beacon,” “beacon of hope,” “realm”**, except in specific phrases like **“Development trust builders.”**
|
|
|
|
| 2166 |
|
| 2167 |
- Give output in proper formatting.
|
| 2168 |
- Response in same language in which asked.
|
| 2169 |
+
-Use google to provide accurate sources links containing the trustbuilder text information.
|
| 2170 |
"""
|
| 2171 |
|
| 2172 |
|