chemouda commited on
Commit
0ac60e1
·
verified ·
1 Parent(s): ef8d9f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def format_docs_with_id(docs: List[Document]) -> str:
82
  def prompt_fn():
83
 
84
  return (
85
- "You are an expert pharmachemist, answer the question based on the context."
86
  "\n\nHere is the context: "
87
  "{context}"
88
  )
 
82
  def prompt_fn():
83
 
84
  return (
85
+ "You are an expert pharmachemist, answer the question based on the context. Do not answer anything not related to pharmachemistry."
86
  "\n\nHere is the context: "
87
  "{context}"
88
  )