yurasolokha commited on
Commit
9105d84
·
verified ·
1 Parent(s): 5dd152b

Updated prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -104,18 +104,17 @@ def get_answer(query, history, temperature, top_p, max_token_count):
104
  </question>
105
 
106
  Provide a detailed, concise response that fully answers the user's question. Ensure your response is organized and visually readable.
 
 
107
 
108
  Additionally, only if there is sufficient remaining token capacity, provide 2 or 3 related questions that the user might want to ask next based on the topic.
109
  If possible, use the following structure for these suggested questions:
110
-
111
  Here are some related questions you might be interested in:
112
  <button style="background-color: #4CAF50; color: white; padding: 10px; margin: 5px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px;">First related question</button>
113
  <button style="background-color: #4CAF50; color: white; padding: 10px; margin: 5px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px;">Second related question</button>
114
  <button style="background-color: #4CAF50; color: white; padding: 10px; margin: 5px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px;">Third related question</button>
115
 
116
  Ensure these suggested questions are brief, relevant, and encourage further exploration on the topic.
117
-
118
- If necessary, reduce the amount of detail provided to keep the response within the word limit but still complete.
119
  Assistant:
120
  """
121
 
 
104
  </question>
105
 
106
  Provide a detailed, concise response that fully answers the user's question. Ensure your response is organized and visually readable.
107
+
108
+ If necessary, reduce the amount of detail provided to keep the response within the word limit but still complete.
109
 
110
  Additionally, only if there is sufficient remaining token capacity, provide 2 or 3 related questions that the user might want to ask next based on the topic.
111
  If possible, use the following structure for these suggested questions:
 
112
  Here are some related questions you might be interested in:
113
  <button style="background-color: #4CAF50; color: white; padding: 10px; margin: 5px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px;">First related question</button>
114
  <button style="background-color: #4CAF50; color: white; padding: 10px; margin: 5px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px;">Second related question</button>
115
  <button style="background-color: #4CAF50; color: white; padding: 10px; margin: 5px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px;">Third related question</button>
116
 
117
  Ensure these suggested questions are brief, relevant, and encourage further exploration on the topic.
 
 
118
  Assistant:
119
  """
120