Spaces:
Running
Running
Ashmi Banerjee
commited on
Commit
·
5acfe56
1
Parent(s):
dd7da04
added comments
Browse files- views/questions_screen.py +22 -21
views/questions_screen.py
CHANGED
@@ -230,30 +230,31 @@ def questions_screen(data):
|
|
230 |
|
231 |
"""
|
232 |
)
|
233 |
-
st.html('''<p style='font-size:large;'>You will be <mark>given a user profile and a travel-related
|
234 |
-
|
235 |
-
<
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
</
|
242 |
-
</p>
|
243 |
-
<p><strong><mark>Clarity Assessment</mark>:</strong> Evaluate how clear and understandable the query is.
|
244 |
-
<br>Your options are:
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
</
|
250 |
-
</p>
|
251 |
-
<p>
|
252 |
-
<strong><mark>Persona Alignment</mark>:</strong> How likely is the query to match the persona and reflect a question they would
|
253 |
ask about travel? <br>Your options are: <ol style='padding-left:2rem;'> <li><b>Not Aligned</b> - The user
|
254 |
is not likely at all to ask this query.</li> <li><b>Partially Aligned</b> - The user is quite likely to
|
255 |
ask this query.</li> <li><b>Aligned</b> - The user is very likely to ask this query. </li>
|
256 |
-
<li><b>Unclear</b> - It is unclear whether the user will ask this query.</li> </ol> </p>
|
|
|
|
|
|
|
|
|
257 |
# Context information
|
258 |
st.markdown("### Context Information")
|
259 |
with st.expander("Persona", expanded=True):
|
|
|
230 |
|
231 |
"""
|
232 |
)
|
233 |
+
st.html('''<p style='font-size:large;'>You will be <mark>given a user profile and a travel-related
|
234 |
+
query</mark>. Your task is to <mark>evaluate the generated queries (numbered 1-6)</mark> based on the
|
235 |
+
following criteria:</p> <p><strong><mark>Relevance</mark>:</strong> Evaluate how well the query aligns
|
236 |
+
with the given cities, filters, and displayed context. Consider whether the query description matches the
|
237 |
+
cities and context provided (click on <em><strong>Full Context</strong></em> to expand). <br> Select one
|
238 |
+
of the following options: <ol style="padding-left:2rem;"> <li><b>Not Relevant</b> - The query has no
|
239 |
+
connection to the cities, filters, or displayed context.</li> <li><b>Somewhat Relevant</b> - The query is
|
240 |
+
partially related but does not fully match the cities or context.</li> <li><b>Relevant</b> - The query
|
241 |
+
clearly aligns with the cities, filters, and displayed context.</li> <li><b>Unclear</b> - The relevance
|
242 |
+
of the query is difficult to determine based on the given information.</li> </ol> </p>
|
243 |
+
<p><strong><mark>Clarity Assessment</mark>:</strong> Evaluate how clear and understandable the query is.
|
244 |
+
Consider whether it is grammatically correct and easy to interpret. <br>Your options are: <ol
|
245 |
+
style="padding-left:2rem;"> <li><b>Not Clear</b> - The query is difficult to understand or contains
|
246 |
+
significant grammatical errors.</li> <li><b>Somewhat Clear</b> - The query is understandable but may have
|
247 |
+
minor grammatical issues or slight ambiguity.</li> <li><b>Very Clear</b> - The query is well-formed,
|
248 |
+
grammatically correct, and easy to understand.</li> </ol> </p> <p> <strong><mark>Persona
|
249 |
+
Alignment</mark>:</strong> How likely is the query to match the persona and reflect a question they would
|
|
|
|
|
|
|
250 |
ask about travel? <br>Your options are: <ol style='padding-left:2rem;'> <li><b>Not Aligned</b> - The user
|
251 |
is not likely at all to ask this query.</li> <li><b>Partially Aligned</b> - The user is quite likely to
|
252 |
ask this query.</li> <li><b>Aligned</b> - The user is very likely to ask this query. </li>
|
253 |
+
<li><b>Unclear</b> - It is unclear whether the user will ask this query.</li> </ol> </p> <p>
|
254 |
+
<strong><mark>Additional Comments (Optional)</mark>:</strong> If you have any feedback, remarks,
|
255 |
+
or interesting observations about the data, you can leave them here. This is completely optional. </p>
|
256 |
+
|
257 |
+
''')
|
258 |
# Context information
|
259 |
st.markdown("### Context Information")
|
260 |
with st.expander("Persona", expanded=True):
|