Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -46,7 +46,7 @@ async def handle_input(user_input, rag):
|
|
| 46 |
|
| 47 |
|
| 48 |
async def is_query_about_specific_file(user_input: str) -> bool:
|
| 49 |
-
|
| 50 |
Does the user explicitly refer to a specific sermon, sermon series, or a named teaching by a
|
| 51 |
preacher (e.g., by name like '2016 6 8 Bishops', 'Kingdom Exceptionalism', 'Joseph Prince's sermon on faith',
|
| 52 |
'Thankfulness, A Daily Habit - Bill Johnson')? This means the user is asking about content within a *particular* named
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
async def is_query_about_specific_file(user_input: str) -> bool:
|
| 49 |
+
prompt = ( f"""User question: \"{user_input}\"\n"
|
| 50 |
Does the user explicitly refer to a specific sermon, sermon series, or a named teaching by a
|
| 51 |
preacher (e.g., by name like '2016 6 8 Bishops', 'Kingdom Exceptionalism', 'Joseph Prince's sermon on faith',
|
| 52 |
'Thankfulness, A Daily Habit - Bill Johnson')? This means the user is asking about content within a *particular* named
|