Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2171,20 +2171,22 @@ def handle_prompt(prompt):
|
|
| 2171 |
display_typing_indicator()
|
| 2172 |
cleaned_text = ""
|
| 2173 |
base_instructions = """ Please respond in this same language.
|
| 2174 |
-
*Be overly specific with details such as $dollar amounts, awards, people's names, and program titles*
|
| 2175 |
-
|
| 2176 |
-
|
|
|
|
|
|
|
| 2177 |
|
| 2178 |
2. **Eliminate Flowery Language and AI Jargon**:
|
| 2179 |
-
-
|
| 2180 |
-
|
| 2181 |
-
3. **
|
| 2182 |
-
-
|
| 2183 |
-
- Always include accurate and verifiable source links in your responses.for knowledgebase data also sources should be googled.
|
| 2184 |
|
| 2185 |
-
4. **Content
|
| 2186 |
-
- Do
|
| 2187 |
-
-
|
|
|
|
| 2188 |
|
| 2189 |
"""
|
| 2190 |
|
|
|
|
| 2171 |
display_typing_indicator()
|
| 2172 |
cleaned_text = ""
|
| 2173 |
base_instructions = """ Please respond in this same language.
|
| 2174 |
+
**Be overly specific with details such as $dollar amounts, awards, people's names, and program titles*
|
| 2175 |
+
|
| 2176 |
+
1. **Prioritize Knowledge Base and Internet Sources**:
|
| 2177 |
+
- Use uploaded documents or knowledge base files as the primary source.
|
| 2178 |
+
- Always perform a Google search to retrieve valid and correct internet links for references.
|
| 2179 |
|
| 2180 |
2. **Eliminate Flowery Language and AI Jargon**:
|
| 2181 |
+
- Use clear, professional language. Avoid terms like "beacon," "realm," "exemplifies," or similar jargon.
|
| 2182 |
+
|
| 2183 |
+
3. **Ensure Accuracy with Valid Sources**:
|
| 2184 |
+
- Provide only accurate and verifiable accurate source links . Avoid placeholders or fabricated URLs.
|
|
|
|
| 2185 |
|
| 2186 |
+
4. **Content Restrictions**:
|
| 2187 |
+
- Do not mention trust bucket names (e.g., Stability Trust, Benefit Trust) in any response.
|
| 2188 |
+
- Avoid referencing them directly or indirectly in your content.
|
| 2189 |
+
|
| 2190 |
|
| 2191 |
"""
|
| 2192 |
|