Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ retriever = vectorstore.as_retriever()
|
|
37 |
|
38 |
from langchain_core.prompts import ChatPromptTemplate
|
39 |
|
40 |
-
prompt = ChatPromptTemplate.from_template("""Given the following context and a question, generate
|
41 |
|
42 |
In your answer, try to use as much text as possible from the "response" section in the source document context without making significant changes.
|
43 |
If someone asks "Who are you?" or a similar question, reply with "I am Rishi's assistant built using a Large Language Model!"
|
|
|
37 |
|
38 |
from langchain_core.prompts import ChatPromptTemplate
|
39 |
|
40 |
+
prompt = ChatPromptTemplate.from_template("""Given the following context and a question, generate a complete and detailed answer with finished sentences based on the provided context only.
|
41 |
|
42 |
In your answer, try to use as much text as possible from the "response" section in the source document context without making significant changes.
|
43 |
If someone asks "Who are you?" or a similar question, reply with "I am Rishi's assistant built using a Large Language Model!"
|