Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,8 @@ def util_bot(question: str) -> Optional[str]:
|
|
| 53 |
# Construct the prompt template for the LLM
|
| 54 |
prompt=PromptTemplate(
|
| 55 |
template=""""Use the following pieces of context to answer the questions at the end.If
|
| 56 |
-
you don't know the answer, just say don't know. do not try to make up the answer.
|
|
|
|
| 57 |
|
| 58 |
|
| 59 |
{context}
|
|
|
|
| 53 |
# Construct the prompt template for the LLM
|
| 54 |
prompt=PromptTemplate(
|
| 55 |
template=""""Use the following pieces of context to answer the questions at the end.If
|
| 56 |
+
you don't know the answer, just say don't know. do not try to make up the answer.If the
|
| 57 |
+
answer is not in the context, answer using your knowledge.
|
| 58 |
|
| 59 |
|
| 60 |
{context}
|