Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
linancn committed Nov 23, 2023
1 parent 3004cde commit bd6b4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ def main_chain():
verbose=langchain_verbose,
)

template = """{input} DO NOT return any information on politics, ethnicity, gender, national sovereignty, or other sensitive topics."""
template = """You MUST ONLY response to science-related quests. DO NOT return any information on politics, ethnicity, gender, national sovereignty, or other sensitive topics. {input}"""

prompt = PromptTemplate(
input_variables=["input"],
Expand Down

0 comments on commit bd6b4fa

Please sign in to comment.