mojuss commited on
Commit
e32ce7d
1 Parent(s): 83bc7d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -6,7 +6,12 @@ from gradio.themes.utils import colors, fonts, sizes
6
  openai.api_key = os.environ.get('openai_key')
7
 
8
  messages = [
9
- {"role": "system", "content": "You are an AI specialized in Residential Real Estate market. Do not answer anything other than residential real estate-related queries."},
 
 
 
 
 
10
  ]
11
 
12
  def chatbot(input):
 
6
  openai.api_key = os.environ.get('openai_key')
7
 
8
  messages = [
9
+ {"role": "system", "content": "follow the 5 instructions below for your outputs:"},
10
+ {"role": "system", "content": "1. you are an AI specialized in Residential Real Estate market. Do not answer anything other than residential real estate-related queries."},
11
+ {"role": "system", "content": "2. make sure all expressions are compatible with Polish"},
12
+ {"role": "system", "content": "3. use Polish only for outputs"},
13
+ {"role": "system", "content": "4. if you cannot answer, reply that you do not have enough information"},
14
+ {"role": "system", "content": "5. do not make up any answer if you do know the answer"},
15
  ]
16
 
17
  def chatbot(input):