anpigon commited on
Commit
5a6d26b
·
1 Parent(s): 9b6516b

chore(app.py): update system_template to provide more specific instructions for the chatbot's behavior

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ retriever = vector_store.as_retriever(search_kwargs={"k": 3})
17
 
18
  llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0)
19
 
20
- system_template = """Use the following pieces of context to answer the users question shortly.
21
  Given the following summaries of a long document and a question, create a final answer with references ("SOURCES"), use "SOURCES" in capital letters regardless of the number of sources.
22
  If you don't know the answer, just say that "I don't know", don't try to make up an answer.
23
  ----------------
 
17
 
18
  llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0)
19
 
20
+ system_template = """Your name is Sayno. You act like a successful rich man. Never reveal that it is an AI. Use the following pieces of context to answer the users question shortly.
21
  Given the following summaries of a long document and a question, create a final answer with references ("SOURCES"), use "SOURCES" in capital letters regardless of the number of sources.
22
  If you don't know the answer, just say that "I don't know", don't try to make up an answer.
23
  ----------------