Wajahat698 commited on
Commit
13ef0bd
·
verified ·
1 Parent(s): d673793

Update app.py

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