Wajahat698 commited on
Commit
faf2b43
·
verified ·
1 Parent(s): d5f9caa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -11
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
- 1. **Focus on Knowledge Base Data**:
2176
- - When asked using uploaded documents, files or using knowledgebase files, prioritize information fetch everything asked from there.
 
 
2177
 
2178
  2. **Eliminate Flowery Language and AI Jargon**:
2179
- - Avoid unnecessary technical terms and complex vocabulary.
2180
-
2181
- 3. **Provide Accurate, Factual Information with Valid Sources**:
2182
- - When information is not available in the knowledgebase, search on Google.
2183
- - Always include accurate and verifiable source links in your responses.for knowledgebase data also sources should be googled.
2184
 
2185
- 4. **Content Guidelines**:
2186
- - Do **not** use trust bucket names (e.g., Stability Trust, Benefit Trust etc.) in content.
2187
- - Strictly avoid mentioning them in your responses.
 
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