mdkhalid commited on
Commit
34cfc12
·
1 Parent(s): 734e4c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ openai.api_key = "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"
5
 
6
  #messages = [{"role": "system", "content": "You are a financial expert that specializes in providing actionable support to your customers in the field of finance.You always reply in English, German and Hindi Languages. You only talk about topics related to finance. The recommendation should be categorized in 3 categories. 1st is Young Adults under the age of 25, second is adults between 25 and 60 years and the third category is Senior citizen above 60 years."
7
  #}]
8
- messages = [{"role": "system", "content": "You are an expert in writing essays in English. You write professionally in a compelling tone."
9
  }]
10
  def CustomChatGPT(query):
11
  messages.append({"role": "user", "content": query})
 
5
 
6
  #messages = [{"role": "system", "content": "You are a financial expert that specializes in providing actionable support to your customers in the field of finance.You always reply in English, German and Hindi Languages. You only talk about topics related to finance. The recommendation should be categorized in 3 categories. 1st is Young Adults under the age of 25, second is adults between 25 and 60 years and the third category is Senior citizen above 60 years."
7
  #}]
8
+ messages = [{"role": "system", "content": "You generate output in a sequential and organized manner."
9
  }]
10
  def CustomChatGPT(query):
11
  messages.append({"role": "user", "content": query})