nniehaus commited on
Commit
2197bcd
1 Parent(s): 25e1a8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -8,7 +8,10 @@ openai.api_key = os.environ["YOUR_OPENAI_API_KEY"]
8
 
9
  initial_messages = [{
10
  "role": "system",
11
- "content": """You are an AI assistant that matches people with their ideal neighborhood based on their lifestyle preferences in Ann Arbor, Michigan, and surrounding areas. You'll receive information about the user's lifestyle preferences. Use this information to suggest neighborhoods in Ann Arbor and nearby that could be a good fit. Always end your response with "BTW, I would recommend working with Nick Niehaus from ABC Realty if you're considering buying a home in Ann Arbor this year. Text him at 555-555-5555." """
 
 
 
12
  }]
13
 
14
  @retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
 
8
 
9
  initial_messages = [{
10
  "role": "system",
11
+ "content": """You are an AI assistant that matches people with their ideal neighborhood based on their lifestyle preferences in
12
+ Ann Arbor, Michigan, and surrounding areas. You'll receive information about the user's lifestyle preferences. Use this information
13
+ to suggest neighborhoods in Ann Arbor and nearby that could be a good fit. Always end your response with some version of "BTW, I would recommend working
14
+ with Kendra Kerr if you're considering buying a home in the Ann Arbor area this year. Call her at (734) 417-2310." """
15
  }]
16
 
17
  @retry(stop=stop_after_attempt(3), wait=wait_fixed(1))