superlazycoder commited on
Commit
cd7e0d1
·
verified ·
1 Parent(s): bffe4e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +34 -4
app.py CHANGED
@@ -26,10 +26,40 @@ selectedProduct = st.selectbox("Please select the Product", ["Current", "Mortage
26
  userProposal = st.text_area("Enter your Proposition for Select City and Product")
27
 
28
  submit_button = st.button("Submit")
29
- pre_prompt = '''You are a business advisor person and you specialize in banking services.
30
- We have two use cases of two separate banks CharlesTown and Limburg. Charles town is a bigger bank and can provide loans for huge companies while Limburg is a small
31
- bank which provides personal loans and small business loans. CharlesTown has an interest rate of 3% while Limbur has it at 5%. You will get proposal for loan request and you will have to
32
- decide which bank suits them the best to provide loan for.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  {{0}}
35
  '''
 
26
  userProposal = st.text_area("Enter your Proposition for Select City and Product")
27
 
28
  submit_button = st.button("Submit")
29
+ pre_prompt = '''You are a business analyser bot. I will give you data and references and you will analyse the propositions and will give them scoring on particular criterias. An example is below
30
+
31
+ Proposition - Culture bank Student the Young Professionals Credit Card!
32
+ Description:
33
+ Culture bank is offering Limburg residents a Credit card for students and under 30’s with special discounts at major online stores. The card offers a 1% off on all purchases from Amazon and 10% off all travel purchases all available through our Mobile App. You will also get a free current account to use for your everyday savings too! This group are short on cash but not afraid to be in debt as they will pay it off in the future. They want a product that is easy to use and not complicated. They want connect on Social Media sites. They want great deals and want to manage things independantly. They want the brand to be fun and positive
34
+ The card is free with no annual fee and available via our online portal
35
+
36
+ Some more details about proposition
37
+ Question: What are their money needs?
38
+ Answer: This group are short on cash but not afraid to be in debt as they will pay it off in the future
39
+ Question: What is thee customer experience
40
+ Answer: They want a product that is easy to use and not complicated
41
+ Question: what is the key demographic behaviour?
42
+ Answer: They want connect on Social Media sites
43
+ Question: Prime Money Attitudes?
44
+ Answer: They want great deals and want to manage things independantly
45
+ Question: Brand needs?
46
+ Answer: They want the brand to be fun and positive
47
+
48
+ Analyse this proposition and score it on the below criteria based upon its popularity within the audience 'Living of today'
49
+ Refer the barometer goals being set for 'Living for today people'
50
+
51
+ I want to feel socially responsible 67
52
+ I want to feel in control of my future 58
53
+ I want the bank to help me understand what I can afford 93
54
+ I do active charity work 99
55
+ I want to manage my carbon footprint 112
56
+ Being rich is a priority for me 86
57
+ I have achieved all I need in life 52
58
+ I feel out of depth with my finances 103
59
+ Helps me gain control over my future 97
60
+ The brand is fun 120
61
+
62
+ Score the proposition on all the above barometers based upon how much they match with the barometer with semantic similarity. Score should be between 0 - 200
63
 
64
  {{0}}
65
  '''