Spaces:
Runtime error
Runtime error
synced
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ llm = ChatOpenAI(
|
|
178 |
|
179 |
from langchain.prompts import ChatPromptTemplate
|
180 |
|
181 |
-
system_template = """Answer the following question with the provided context only
|
182 |
|
183 |
### CONTEXT
|
184 |
{context}
|
|
|
178 |
|
179 |
from langchain.prompts import ChatPromptTemplate
|
180 |
|
181 |
+
system_template = """Answer the following question with the provided context only. If you aren't able to get the answer from the provided context only, then please don't answer the question.
|
182 |
|
183 |
### CONTEXT
|
184 |
{context}
|