Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ openai.api_key = "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"
|
|
6 |
messages = [{"role": "system", "content": "You are a financial experts that specializes in real estate investment and negotiation"}]
|
7 |
|
8 |
def CustomChatGPT(user_input):
|
9 |
-
messages.append({"role": "user", "content":
|
10 |
response = openai.ChatCompletion.create(
|
11 |
model = "gpt-3.5-turbo",
|
12 |
messages = messages
|
|
|
6 |
messages = [{"role": "system", "content": "You are a financial experts that specializes in real estate investment and negotiation"}]
|
7 |
|
8 |
def CustomChatGPT(user_input):
|
9 |
+
messages.append({"role": "user", "content": user_input})
|
10 |
response = openai.ChatCompletion.create(
|
11 |
model = "gpt-3.5-turbo",
|
12 |
messages = messages
|