rishisim commited on
Commit
f1b3a59
1 Parent(s): 26eecfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 an answer 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!"
 
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!"