Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
)
|