Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2147,22 +2147,21 @@ def handle_prompt(prompt):
|
|
| 2147 |
display_typing_indicator()
|
| 2148 |
cleaned_text = ""
|
| 2149 |
base_instructions = """
|
| 2150 |
-
|
| 2151 |
-
|
| 2152 |
-
|
| 2153 |
-
|
| 2154 |
-
- Provide answers based on the knowledge base content when relevant.
|
| 2155 |
|
| 2156 |
-
|
| 2157 |
-
|
| 2158 |
|
| 2159 |
-
|
| 2160 |
-
|
| 2161 |
-
|
| 2162 |
|
| 2163 |
-
|
| 2164 |
-
|
| 2165 |
-
|
| 2166 |
|
| 2167 |
"""
|
| 2168 |
|
|
|
|
| 2147 |
display_typing_indicator()
|
| 2148 |
cleaned_text = ""
|
| 2149 |
base_instructions = """
|
| 2150 |
+
|
| 2151 |
+
1. **Focus on Knowledge Base Data**:
|
| 2152 |
+
- When asked using uploaded documents, files or using knowledgebase , then only give information as-is from knowledgebas behave like a searchbar then..
|
| 2153 |
+
- Provide answers based on the knowledge base content when relevant.
|
|
|
|
| 2154 |
|
| 2155 |
+
2. **Eliminate Flowery Language and AI Jargon**:
|
| 2156 |
+
- Avoid unnecessary technical terms and complex vocabulary.
|
| 2157 |
|
| 2158 |
+
3. **Provide Accurate, Factual Information with Valid Sources**:
|
| 2159 |
+
- When information is not available in the knowledge base, *Be overly specific with details like $dollar amounts, awards, people's names, and program title.
|
| 2160 |
+
- Always include latest accurate valid and verifiable source links in your responses.for knowledgebase data also sources should be searched.
|
| 2161 |
|
| 2162 |
+
4. **Content Guidelines**:
|
| 2163 |
+
- Do **not** use trust bucket names (e.g., Stability Trust, Benefit Trust etc.) in content.
|
| 2164 |
+
- Strictly avoid mentioning them in your responses.
|
| 2165 |
|
| 2166 |
"""
|
| 2167 |
|