Chris Alexiuk commited on
Commit
ebe5d57
1 Parent(s): 7e18dc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,7 +31,7 @@ SOURCES: xyz
31
 
32
  Begin!
33
  ----------------
34
- {summaries}"""
35
 
36
  messages = [
37
  SystemMessagePromptTemplate.from_template(system_template),
@@ -67,6 +67,7 @@ async def init():
67
  chain_type="stuff",
68
  return_source_documents=True,
69
  retriever=docsearch.as_retriever(),
 
70
  )
71
 
72
  msg.content = f"Index built!"
 
31
 
32
  Begin!
33
  ----------------
34
+ {context}"""
35
 
36
  messages = [
37
  SystemMessagePromptTemplate.from_template(system_template),
 
67
  chain_type="stuff",
68
  return_source_documents=True,
69
  retriever=docsearch.as_retriever(),
70
+ chain_type_kwargs = {"prompt": prompt}
71
  )
72
 
73
  msg.content = f"Index built!"