Sathyapriyaa commited on
Commit
e3bd5d9
1 Parent(s): 683d956

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -89,6 +89,7 @@ prompt_template = get_prompt(instruction, sys_prompt)
89
  llama_prompt = PromptTemplate(
90
  template=prompt_template, input_variables=["context", "question"]
91
  )
 
92
  from langchain.schema import prompt
93
  # create the chain to answer questions
94
  qa_chain = RetrievalQA.from_chain_type(llm=llm,
 
89
  llama_prompt = PromptTemplate(
90
  template=prompt_template, input_variables=["context", "question"]
91
  )
92
+ chain_type_kwargs = {"prompt": llama_prompt}
93
  from langchain.schema import prompt
94
  # create the chain to answer questions
95
  qa_chain = RetrievalQA.from_chain_type(llm=llm,