Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,7 @@ config = {
|
|
42 |
|
43 |
langchain.verbose = True
|
44 |
|
45 |
-
template = """If you don't know the answer, just say that you don't know, don't try to make up an answer. Keep the answer as concise as possible. Always say
|
46 |
-
"🧠 Thanks for using the app - Bernd" at the end of the answer. """
|
47 |
|
48 |
llm_template = "Answer the question at the end. " + template + "Question: {question} Helpful Answer: "
|
49 |
rag_template = "Use the following pieces of context to answer the question at the end. " + template + "{context} Question: {question} Helpful Answer: "
|
|
|
42 |
|
43 |
langchain.verbose = True
|
44 |
|
45 |
+
template = """If you don't know the answer, just say that you don't know, don't try to make up an answer. Keep the answer as concise as possible. Always say "Thanks for using the 🧠 app - Bernd" at the end of the answer. """
|
|
|
46 |
|
47 |
llm_template = "Answer the question at the end. " + template + "Question: {question} Helpful Answer: "
|
48 |
rag_template = "Use the following pieces of context to answer the question at the end. " + template + "{context} Question: {question} Helpful Answer: "
|