jonathanjordan21 commited on
Commit
f83ef13
1 Parent(s): 0f238a0

Update custom_llm.py

Browse files
Files changed (1) hide show
  1. custom_llm.py +1 -2
custom_llm.py CHANGED
@@ -24,8 +24,7 @@ from langchain.vectorstores import FAISS
24
 
25
  def custom_chain_with_history(llm, memory):
26
 
27
- prompt = PromptTemplate.from_template("""<s><INST><|system|>
28
- You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.
29
 
30
  If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
31
 
 
24
 
25
  def custom_chain_with_history(llm, memory):
26
 
27
+ prompt = PromptTemplate.from_template("""You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.
 
28
 
29
  If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
30