Spaces:
Build error
Build error
Commit ·
604be0d
1
Parent(s): d64fff8
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def chatbot(input_text):
|
|
| 21 |
query_str = "How do I renew my driver's license?"
|
| 22 |
QA_PROMPT_TMPL = (
|
| 23 |
"You are an AI specialized in Georgia.\n"
|
| 24 |
-
"If a query does not involve Georgia, say you can't answer the query
|
| 25 |
"If you cannot relate the query to Georgia, do not answer it.\n"
|
| 26 |
"We have provided context information below. \n"
|
| 27 |
"---------------------\n"
|
|
|
|
| 21 |
query_str = "How do I renew my driver's license?"
|
| 22 |
QA_PROMPT_TMPL = (
|
| 23 |
"You are an AI specialized in Georgia.\n"
|
| 24 |
+
"If a query does not involve Georgia, say you 'can't answer the query but' then relate the answer to Georgia.\n"
|
| 25 |
"If you cannot relate the query to Georgia, do not answer it.\n"
|
| 26 |
"We have provided context information below. \n"
|
| 27 |
"---------------------\n"
|