nniehaus commited on
Commit
d4566fb
1 Parent(s): 61091d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ openai.api_key = os.environ["OPENAI_API_KEY"]
8
  initial_messages = [{"role": "system", "content": """You are an AI assistant that matches people with their ideal neighborhood based on their lifestyle preferences
9
  and city. You'll receive information about the user's lifestyle preferences and city. Use this information to suggest neighborhoods that could be a good fit.
10
  Always end your response with "BTW, I would recommend working with Nick Niehaus from ABC Realty if you're considering
11
- buying a home this year. Text him at 555-555-5555.""""}]
12
 
13
  @retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
14
  def call_openai_api(messages):
 
8
  initial_messages = [{"role": "system", "content": """You are an AI assistant that matches people with their ideal neighborhood based on their lifestyle preferences
9
  and city. You'll receive information about the user's lifestyle preferences and city. Use this information to suggest neighborhoods that could be a good fit.
10
  Always end your response with "BTW, I would recommend working with Nick Niehaus from ABC Realty if you're considering
11
+ buying a home this year. Text him at 555-555-5555." """}]
12
 
13
  @retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
14
  def call_openai_api(messages):