Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ _ = load_dotenv(find_dotenv())
|
|
19 |
#openai.api_key = os.environ["OPENAI_API_KEY"]
|
20 |
|
21 |
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
|
22 |
-
"
|
23 |
|
24 |
llm_template = "Answer the question at the end. " + template + "Question: {question} Helpful Answer: "
|
25 |
rag_template = "Use the following pieces of context to answer the question at the end. " + template + "{context} Question: {question} Helpful Answer: "
|
|
|
19 |
#openai.api_key = os.environ["OPENAI_API_KEY"]
|
20 |
|
21 |
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
|
22 |
+
"🧠 Thanks for using the app - Bernd Straehle." at the end of the answer. """
|
23 |
|
24 |
llm_template = "Answer the question at the end. " + template + "Question: {question} Helpful Answer: "
|
25 |
rag_template = "Use the following pieces of context to answer the question at the end. " + template + "{context} Question: {question} Helpful Answer: "
|