AhmedEwis commited on
Commit
f6bca1e
1 Parent(s): c99095d

Upload langchain_qa_warba.py

Browse files
Files changed (1) hide show
  1. langchain_qa_warba.py +726 -0
langchain_qa_warba.py ADDED
@@ -0,0 +1,726 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """LangChain QA WARBA
3
+
4
+ Automatically generated by Colaboratory.
5
+
6
+ Original file is located at
7
+ https://colab.research.google.com/drive/1FlN_580MckH1k15F73gvsxLSg-O5WUIO
8
+ """
9
+
10
+ !pip install openai langchain faiss-cpu
11
+
12
+ !pip install tiktoken
13
+
14
+ #@title State of Union Text
15
+ state_of_the_union = """ I am an AI Bota and my name is Shegardi and I am an employee of Warba Bank, located in Kuwait and I have been created to answer certain questions about warba bank.
16
+
17
+
18
+ Warba Bank was established on February 17, 2010, by virtue of an Amiri Decree aiming to boost the economic situation after the crisis witnessed by Kuwait. On April 7, 2010, Warba Bank joined the Islamic Banks Register at the Central Bank of Kuwait. The bank met the aspirations of Kuwaitis and earned their trust. It managed, in a short time, to position itself in the banking sector, As a leader in Islamic Digital Retail Solutions.
19
+
20
+ Board of Directors
21
+
22
+ The Board of Directors at Warba Bank is comprised of the following individuals:
23
+
24
+ Mr. Hamad M. AlSayer (Chairman)
25
+ Mr. Bader K. AlShalfan (Vice Chairman)
26
+ Mr. Mohammad H. AlShalfan
27
+ Mr. Mohamed R. AlMutawa
28
+ Mr. Mohammad A. Saleem
29
+ Mr. Mubarak N. AlSayer
30
+ Mr. Khaldon Sh. AlTabtabaei
31
+ Mr. Mohammad A. AlBahar
32
+ Mr. Mohammad A. AlRuwayeh
33
+ Mrs. May M. AlMudhaf
34
+ Mrs. Basma H. AlSanea
35
+ Management Team
36
+
37
+ The management team at Warba Bank includes:
38
+
39
+ Mr. Shaheen H. Al-Ghanem (CEO)
40
+ Mr. Anwar Bader Al Ghaith (Deputy Chief Executive Officer Support Services & Treasury)
41
+ Mr. Thuwaini AlThuwaini (Chief Investment Baking Officer)
42
+ Mr. Hamad F. Al Fouzan (Chief Strategic Planning Officer)
43
+ Mr. Musaed M. Al Mazid (Acting Chief Retail Baking Officer)
44
+ Mr. Abdullah Mahmoud Allanqawi (Chief Treasury Officer)
45
+ Mr. Dharar A. Al Dakhil (Chief Risk Officer)
46
+ Mr. Hussam Mustafa (Chief Internal Auditor)
47
+ Ms. Layali Mostafa Al Fahad (Chief Operations Officer)
48
+ Ms. Maali A. AlRasheed (Chief Human Resources & General Services Officer)
49
+ Mr. Faisal A. Al Nassar (Chief Corporate Baking Officer)
50
+ Mr. Mohamed Sabry Eissa (Chief Financial Officer)
51
+ Mr. Wael Elsaid Shawareb (Chief Technology Officer)
52
+ Mr. Wael Ahmed Awad (Acting Chief Digital Officer)
53
+ Sharia Board
54
+
55
+ The Sharia board at Warba Bank includes:
56
+
57
+ Dr. Essam K. Al Anazi (Chairman)
58
+ Dr. Mohammad Al-Fuzai (Member)
59
+ Dr. Ali Ibrahim Al Rashed (Member)
60
+
61
+ Warba Bank offers a range of accounts to meet the financial needs of its customers. The following are the types of accounts available at Warba Bank:
62
+
63
+ Sunbula Account
64
+ Sunbula Kids Account
65
+ Current Account
66
+ Salary Account
67
+ Gold Account
68
+ Investment Saving Account
69
+ Super Saving Account
70
+ In addition, Warba Bank has updated its Credit, Debit, and Prepaid Cards with a new chip that has the latest security standards to provide its customers with the highest level of protection.
71
+
72
+ Gold Account
73
+
74
+ The Gold Account at Warba Bank allows customers to buy and sell the finest gold provided by Swiss and Emirati manufacturers (24 karats with a purity of 999.9). The account can be easily accessed through the Warba Bank application in partnership with Dar Alsabaek Group.
75
+
76
+ AlSunbula Account
77
+
78
+ The AlSunbula account is an investment savings account based on the Wakala investment principle, with returns distributed quarterly, along with chances to win in the AlSunbula draws on cash prizes held throughout the year. To be eligible for the draws, AlSunbula account holders are required to have a minimum balance of KD100, which can only be withdrawn upon account closure.
79
+
80
+ AlSunbula Kids Account
81
+
82
+ The AlSunbula Kids account is a savings account designed specifically for kids, based on the Wakala investment principle, with competitive returns. Customers 15 years or younger can open an account with a minimum amount of KD10. The AlSunbula Kids draw has seven winners every month with prizes ranging from KD100 to KD1000, and one winner in the mega draw worth KD250,000.
83
+
84
+ Housing Finance Deal
85
+
86
+ Warba Bank offers Housing Finance deals for building a future house or renovations, with financing up to KD70,000. The benefits of this deal include free debt insurance, no down payment required, and preferential rates for Al-Safwa customers, along with a six-month grace period. To apply, customers need to provide their Civil ID, 3-month account statement, salary continuation certificate, authorized signatory, and PIFSS certificate.
87
+
88
+ Car Auto Finance Deal
89
+
90
+ Warba Bank's Auto Finance deals are competitive, and finance up to KD25,000 is available. Salary transfer is not required, and flexible monthly installments start from KD30. Al-Safwa customers receive a special rate, and all customers get a six-month grace period. To apply, customers need to provide a car quotation, Civil ID, 3-month account statement, salary continuation certificate, authorized signatory, and PIFSS certificate.
91
+
92
+ Customer Segments
93
+
94
+ Warba Bank has different customer segments to meet the diverse financial needs of its customers. The following are the customer segments at Warba Bank:
95
+
96
+ 1- AlMassy
97
+ 2- AlSafwa Plus
98
+ 3- AlSafwa
99
+ 4- W
100
+ 5- Normal
101
+ 6- Bloom
102
+ 7- Sunbula Kids
103
+
104
+ Warba Bank is a leading bank in the Islamic Digital Retail Solutions sector. With a variety of products and services, Warba Bank is committed to providing its customers with the best banking experience. One of the services Warba Bank provides is its cashback program. In this document, we will explain the details of the cashback program offered by Warba Bank.
105
+
106
+ Details of Cashback Program:
107
+
108
+ Warba Bank offers a cashback program for Mastercard World and World Elite credit card users. AlSafwa, AlSafwa Plus, W & Almassy customers get a cashback rate of 3% on local and international transactions. If the local spending + international spends are more than KD 3000, the cashback will be 3% for local and 6% for international transactions. On the other hand, for Normal segment customers, the cashback rate is 1% irrespective of the amount of the transactions.
109
+
110
+ Maximum Cashback:
111
+
112
+ The maximum cashback amount varies based on the customer segment. The maximum amount for ALMASSY is KD 500, while the maximum amount for ALSAFWA PLUS is also KD 500. The maximum amount for ALSAFWA is KD 500, and the maximum amount for W is KD 300. The maximum amount for Normal is KD 150.
113
+
114
+ Calculation of Cashback:
115
+
116
+ The cashback calculation depends on the customer segment and the amount of the transactions. For Al Safwa / Al Safwa Plus / Al Massy and W customers, if the spent transactions are less than KD 3000, the cashback rate is 3%. If the transactions are higher than KD 3000, the cashback rate is 6% for international transactions only. For Normal segment customers, the cashback rate is 1% irrespective of the amount of the transactions.
117
+
118
+ Exceeding the Maximum Cashback:
119
+
120
+ If any of the customer segments Al Massy, AlSafwa Plus, AlSafwa, or W exceed the maximum cashback amount, Warba Bank will only return the maximum amount. For example, if the Al Massy segment exceeds the maximum amount of KD 500, Warba Bank will only return KD 500. The same applies to the W segment with a maximum amount of KD 300, and the Normal segment with a maximum amount of KD 150.
121
+
122
+ Warba Bank's cashback program provides its customers with an opportunity to earn cashback on their credit card transactions. With different customer segments and different cashback rates, Warba Bank's cashback program is tailored to meet the needs of all its customers. If you have any questions regarding the cashback program, please visit the Warba Bank website or contact customer support.
123
+
124
+ Medical Benefits:
125
+
126
+ Warba Bank places a strong emphasis on health and wellness, and offers medical financing to its customers. With 0% profit, the bank provides financing for medical expenses up to KD 25,000, with flexible monthly installments starting at KD30. No down payment or salary transfers are required, making it easier for customers to access the financing they need for their medical needs.
127
+
128
+ Digital Services:
129
+
130
+ Warba Bank is dedicated to providing digital services to its customers, and the bank's mobile app is a testament to this commitment. With the app, customers can open a new account in less than 5 minutes, with no need to visit a branch. The app also provides access to the bank's ultimate digital loyalty program, "Pocket," as well as the ability to enter Al Sunbula draws and access a directory of branch services.
131
+
132
+ Family Account:
133
+
134
+ Warba Bank's family account service is designed to make it easier for parents to manage their children's accounts. With the family account, parents can link their children's accounts to their own and track their transactions online or through the mobile app. This innovative service is designed to meet the needs of families and ensure that their banking needs are met.
135
+
136
+ IBAN Number:
137
+
138
+ Customers can obtain their IBAN number through the Warba Bank app, website, call center, or by visiting a branch. The IBAN number is an important part of a customer's banking information and is used to facilitate international transactions.
139
+
140
+ Frozen Accounts:
141
+
142
+ In the event that a customer's account has been inactive for one year, the account may be frozen. To reactivate the account, the customer must visit a branch and submit an activation request, along with payment of an account activation commission.
143
+
144
+ Accounts for Charitable Societies and Public Service Associations:
145
+
146
+ Warba Bank also offers accounts for charitable societies, public service associations, and student unions. The required documents vary based on the type of organization, but typically include articles of association, a letter from an official body, and original ID cards of authorized individuals. The bank is dedicated to supporting these organizations and ensuring that their banking needs are met.
147
+
148
+ FATCA Compliance:
149
+
150
+ Warba Bank is compliant with the US Foreign Account Tax Compliance Act (FATCA), which is designed to prevent tax evasion by US citizens with accounts and investments outside the US. The bank is committed to following international regulations and ensuring compliance with FATCA.
151
+
152
+ Maximum Monthly Instalment Amount:
153
+
154
+ For customers seeking financing, the maximum monthly installment amount is determined by a customer's net salary or income. For those in service, the total monthly installments should not exceed 40% of the net salary, while for retirees, the total monthly installment should not exceed 30% of the net monthly income.
155
+
156
+ DOCUMENTS REQUIRED FOR CONSUMER FINANCE:
157
+
158
+ For Consumer Finance, the following documents are required:
159
+
160
+ Original valid Civil ID
161
+ Original recent salary certificate
162
+ Salary continuation
163
+ Price quotation
164
+ Account statement for the last 3 Months (6 months for the private sector)
165
+ Passport copy for expatriate customers only
166
+ BRANCHES:
167
+
168
+ Warba Bank has 14 branches, 19 branch ATMs, and 58 offsite ATMs in Kuwait.
169
+
170
+ CREDIT CARDS:
171
+
172
+ Warba Bank offers the following credit card options:
173
+
174
+ World Elite Dual Chip Mastercard
175
+ World Elite Mastercard
176
+ World Mastercard
177
+ Platinum Mastercard
178
+ VISA Signature
179
+ VISA Platinum
180
+ VISA Prepaid
181
+ BRANCH LOCATIONS:
182
+
183
+ Warba Bank has branches located in several locations in Kuwait, including:
184
+
185
+ Avenues Mall, Grand Avenues
186
+ Arabiya Mall Fahaheel
187
+ Balat Al-Shuhadaa St - Remal Complex
188
+ Farwaniyah Habib Al Monawir St - Next to Metro Complex
189
+ Hawally, Beirut Street, E-mail
190
+ Old Jahra - Marzoug AlMeteb St. - Sahara Mall
191
+ Sharq - Block 7 - Omar Ibn Al-Khattab Alraya Street - Parcel 6 - Al-Raya Tower Mezzanine #1
192
+ Mangaf Co-op, Block 4
193
+ Salem AlMubarak Street - Laila Gallery Complex
194
+ Ahmed Al Jaber St - Next to the Police Station Roundabout
195
+ AlShuhuda, Block 4, AlShuhuda Co-op
196
+ West Mishref - PIFSS Building
197
+ Block 5 - Kuwait Sport club - Al Exandria Street - Facing kaifan Tel-communication tower and Government Center For Testing And Quality Control
198
+ Kuwait Airport T4.
199
+ FEES AND COMMISSIONS:
200
+
201
+ You can access the fees and commissions directly from Warba Bank's website by clicking this link: https://warbabank.blob.core.windows.net/files/Library/Assets/Gallery/BankingTariffs/Fees%20&%20Commissions%2070x100%20Poster%201%20JUNE%202022%20ARB.pdf
202
+
203
+ TRANSFERS:
204
+
205
+ Warba Bank offers the following transfer options through Warba Online:
206
+
207
+ Transfers between your own accounts
208
+ Transfers to a Warba Bank account
209
+ Domestic and international telex transfers
210
+ Transfers to charitable committees
211
+ Transfers to credit or prepaid cards
212
+ Express Transfers
213
+ Transfers for payment of mobile bills and internet cards
214
+ DOCUMENTS REQUIRED FOR COMPANIES AND ESTABLISHMENTS ACCOUNT OPENINGS:
215
+
216
+ For opening an account for establishments, the following documents are required:
217
+
218
+ Commercial registration certificate, a letter from the Public Authority for Civil Information indicating the civil number of the establishment, the original civil ID card of each authorized signatory.
219
+ For Companies The notarized memorandum of association, commercial registration certificate, a letter from the Public Authority for Civil Information indicating the civil number of the company, the original civil ID card of each authorized signatory based on the memorandum of associations as amended.
220
+
221
+ Warba Bank, where we offer a range of banking services tailored to meet the unique needs of our customers.let us take a closer look at the benefits of our various customer segments: Sunbula Kids, Bloom, W, Al Safwa, Al Safwa Plus, and Almassy.
222
+
223
+ Starting with the Sunbula Kids segment, this segment is designed for children from day 1 up to 15 years old. With this segment, customers can enjoy the following benefits:
224
+
225
+ Instant issuance of an ATM card with a unique design.
226
+ A daily cash withdrawal limit of up to KD 2,000 from ATMs.
227
+ Investment profits as per the annual rate of return.
228
+ Cash deposit via Warba Bank ATM machines.
229
+ Domestic and international shopping across POS devices.
230
+ Free domestic and international SMS service.
231
+ Free Warba Online service from the App Store or Google Play.
232
+ Next, we have the Bloom segment, which is designed for individuals from 15 to 25 years old. The benefits of this segment include:
233
+
234
+ 5 winners in the social allowance monthly draw, with the 1st winner receiving KD 500, the 2nd winner receiving KD 200, and the 3rd to 5th winners receiving KD 100 each.
235
+ All-Star Rewards for high achievers, who earn a GPA of 3.5 and above out of 4.0 upon semester completion, with Warba Pocket points equivalent to KD 50.
236
+ Free issuance and renewal of a VISA prepaid card with a monthly cashback of 3%.
237
+ For customers in the W segment, the eligibility criteria are a salary range of KD 500 to KD 1,499. The benefits of this segment include:
238
+
239
+ Free issuance of a Platinum Mastercard for the first year.
240
+ Free issuance of a Visa Prepaid for the first year.
241
+ Instant issuance of an ATM card with a unique design.
242
+ A cash withdrawal limit from ATMs of up to KD 2,000 daily.
243
+ Moving on to the Al Safwa segment, the eligibility criteria for this segment are a salary range of KD 1,500 to KD 2,499 and a deposit range of KD 30,000 to KD 149,999. The benefits of this segment include:
244
+
245
+ A dedicated Relationship Manager.
246
+ An ATM daily withdrawal limit of up to KD 3,000.
247
+ Free issuance of a World Mastercard credit card for the first year.
248
+ Free issuance of a VISA Prepaid Card for the first year.
249
+ 2 free Warba Concierge services per year.
250
+ A special rate on personal finance transactions.
251
+ Priority Call Center response.
252
+ The Al Safwa Plus segment is designed for customers with a salary range of KD 2,500 and above, and a deposit range of KD 150,000 to KD 349,999. The benefits of this segment include:
253
+
254
+ A dedicated Relationship Manager.
255
+ An ATM daily withdrawal limit of up to KD 3,000.
256
+ Free issuance of a World Mastercard credit card for the first year.
257
+ Free issuance of a VISA Prepaid Card for the first year.
258
+ 4 free Warba Concierge services per year.
259
+ A special rate on personal finance transactions.
260
+ Up to 12 months grace period on personal finance.
261
+ Priority Call Center response.
262
+ Finally, we have the Almassy segment, which is designed for customers with a deposit range of KD 350,000 and above. The benefits of this segment include:
263
+
264
+ Free main and supplementary World Mastercard or VISA Signature credit card.
265
+ A free Cheque book.
266
+ ATM daily withdrawal limit up to KD 3,000.
267
+ Real estate financing facilities.
268
+ Free VISA prepaid card.
269
+ Preferred rates on investment deposits.
270
+ Personal financing up to KD 250,000.
271
+ Free Warba Concierge services.
272
+ Priority Call Center response.
273
+
274
+ Current Account:
275
+ The current account is a Sharia-compliant account that is available for both individuals and corporations. The benefits of this account include the ability to open the account in KWD or any major foreign currencies (Euro – USD - GBP), chequebook issuance, and a free VISA prepaid card for the first year. The terms of this account include a minimum amount of KD 1,000 to open the account.
276
+
277
+ Salary Account:
278
+ The salary account is an account that is suitable for private and public sector employees. The benefits of this account include an instant issuance of an ATM card with a unique design, up to KD 3,000 cash withdrawal from ATMs, a free VISA prepaid card for the first year, and a free credit card for the first year. The terms of this account include that it is for individuals only, the account currency is KWD only, and a minimum salary amount of KD 500 is required to open the account.
279
+
280
+ Investment Savings Account:
281
+ The investment savings account is a Sharia-compliant account based on the Mudarabah principle. The benefits of this account include quarterly distributed returns, up to KD 2,000 cash withdrawal from ATMs, and the ability to transfer salary to this account. Additionally, a free VISA prepaid card is provided for the first year. The terms of this account include that profits are calculated based on the account's lowest monthly balance and the account currency is KWD only.
282
+
283
+ Super Savings Account:
284
+ The super savings account is based on the Wakala investment principle and provides expected returns of up to 0.75%. The benefits of this account include the funds being invested under the Wakala investment principle, monthly distributed returns, up to KD 2,000 cash withdrawal from ATMs, and the ability to transfer salary to this account. The terms of this account include that it is for individuals only, the account can be opened in KWD or any major foreign currencies (USD – GBP - EURO), and a minimum balance of KD 1,000 is required to open the account.
285
+
286
+ KD Wakala Fixed Deposit:
287
+ The KD Wakala fixed deposit is a Sharia-compliant investment structure that is available for corporations only and is based on the Wakala investment principle. Returns for this investment range from 1 to 60 months. The benefits of this account include being based on the Wakala investment principle, being opened in KWD only, and a minimum limit of KD 3,000 to open the deposit. Returns are earned at maturity from 1 month to 18 months and returns can be earned monthly or yearly as per the customer's choice from 18 months to 60 months. The breakage rule for this account states that if the deposit is cancelled before completing one month, returns are not calculated, but if it is cancelled after completing one month, returns are calculated based on the call account's lowest profit margin.
288
+
289
+ Sunbula Fixed Deposit in Warba Bank
290
+
291
+ Warba Bank offers a product called Sunbula Fixed Deposit, which is designed for individuals only. The deposit provides expected returns and gives customers the opportunity to participate in weekly and mega Sunbula draws. To open the deposit, customers need a minimum amount of KD 5,000, and the tenures range from 1-12, 24, 36, 48, and 60 months.
292
+
293
+ Sunbula Flexible Deposit in Warba Bank
294
+
295
+ Sunbula Flexible Deposit is another product offered by Warba Bank, designed for individuals only. This deposit is based on the Wakala investment principle, has a minimum limit of KD 20,000, and has an investment period of 12 months. Returns are earned on a quarterly basis, and customers have the chance to participate in weekly and quarterly draws for every KD 1,000 in their deposit. Additionally, customers have the ability to withdraw KD 100 or more during the investment period and to deposit KD 100 or more during the investment period. If the deposit is cancelled before completing 12 months, returns are calculated based on the profit margin of the Sunbula Savings Account. If the deposit is cancelled after completing 12 months, returns are calculated based on the premium savings account profit margin.
296
+
297
+ FC Wakala Fixed Deposit in Warba Bank
298
+
299
+ FC Wakala Fixed Deposit is another investment opportunity offered by Warba Bank, designed for both individuals and corporates. This deposit is based on the Wakala investment principle and allows customers to invest in major foreign currencies such as USD, GBP, and Euros. The minimum limit for opening the deposit is Euros 10,000, USD 10,000, or GBP 5,000, and returns are earned at maturity from 1 month to 18 months and monthly or yearly as per customer choice from 18 months to 60 months.
300
+
301
+ Mastercard and Visa Creditcards
302
+
303
+ For information on the benefits of Mastercard creditcards, customers are advised to visit priceless.com. For information on the benefits of Visa creditcards, customers are advised to visit visamiddleeast.com.
304
+
305
+ Pocket Product
306
+
307
+ Pocket is a fully digital loyalty program offered by Warba Bank, based on earning points and redeeming them through Warba Bank’s application services or purchasing select items from partnering merchants.
308
+
309
+ Earning Points with Pocket
310
+
311
+ Customers can earn points with Pocket by:
312
+
313
+ Paying their mobile bill using Warba Mobile App.
314
+ Using their Credit Card and getting Points instead of Cashback.
315
+ Inviting friends to Warba using the Mobile App.
316
+ Transferring their salary and getting points instead of cash.
317
+ Redeeming Points from Pocket
318
+
319
+ Customers can redeem their points from Pocket in several ways:
320
+
321
+ Through Warba Bank application services, including buying digital vouchers, topping up their Credit Cards, paying their mobile bills, transferring points to friends, and transferring points to their Al Sunbula Account.
322
+ Through the Entertainer, where customers can enjoy exclusive discounts and unique offers from over 700 merchants across Kuwait, Dubai, Saudi Arabia, Qatar, and Oman.
323
+ Through purchasing products from Warba Bank's partners.
324
+ Note: Pocket points will expire after one year from the calendar month they were earned.
325
+
326
+ KYC (Know Your Customer)
327
+ KYC is a mandatory process in accordance with the Central Bank of Kuwait regulation, which requires banks to obtain information about the identity, personal information, financial transactions of customers periodically. The purpose of this process is to ensure the safety and security of customer information and to provide them with uninterrupted financial services. Warba Bank allows customers to update their KYC information through the bank's application in just a few simple steps.
328
+
329
+ How to Update KYC Information
330
+ Customers can update their KYC information in 4 steps:
331
+
332
+ Identity check: Confirm if you are a US citizen, stateless nationality, or politically exposed person.
333
+ Personal information: Update your resident address, employment status, source of income and banks you are dealing with.
334
+ Transaction Volume: Update your expected transaction volume.
335
+ Tax information: Update your residency and tax identification number.
336
+ Oasis Club Airmiles
337
+ Oasis Club is a loyalty program offered by Kuwait Airways based on airmiles. With Warba Bank's "Pocket" digital loyalty program, customers can redeem their Pocket points for Kuwait Oasis Club airmiles.
338
+
339
+ Redeeming Pocket Points for Oasis Club Airmiles
340
+ To redeem Pocket points for Oasis Club Airmiles, customers need to have an active membership account with Oasis Club. They can follow these steps:
341
+
342
+ Go to the "Pocket" account and select "Exchange Pocket points for Kuwait Airways miles."
343
+ Enter the number of points you would like to exchange and agree to the terms and conditions.
344
+ Upon successful processing, your air miles will be credited to your Kuwait Oasis Club account.
345
+ If you don't have an Oasis Club membership, you can create one by visiting the Oasis Club website. After creating your account, the service should be available within 7 working days on Warba Pocket.
346
+
347
+ Hassala
348
+ Hassala is a digital savings system offered by Warba Bank that helps customers save for their needs and goals. With Hassala, customers can easily manage their savings and reach their goals faster.
349
+
350
+ Creating a Hassala
351
+ To create a Hassala, customers can follow these steps:
352
+
353
+ Start Hassala: From the main page of the Warba Bank app, select "Create a Hassala."
354
+ Select Your Goal: Determine the goal you want to save for.
355
+ Fund Your Goal: Hassala calculates the expected amount to be saved monthly or weekly from one of your accounts according to the specified period.
356
+ Ways to Save in Hassala
357
+ Customers can save in Hassala through several methods, including:
358
+
359
+ Kharda: Transfer all the remaining funds into your Hassala daily.
360
+ Save as you spend: A predefined amount will be matched with every POS transaction you make and will be saved in your Hassala.
361
+ Sweep: Transfers any excess amount above the set account threshold to the Smart Savings account.
362
+ Automated Transfer: A standing order defined by the user for weekly or monthly transfers.
363
+ TopUp: A manual funding transaction initiated by the user at any moment.
364
+ Hassala Kids
365
+ Hassala Kids is a unique savings app designed to educate children about the importance of saving in a fun way. With Hassala Kids, children can monitor their savings, track their goals, and view all their transactions. The benefits of Hassala Kids include increased engagement between children and guardians, full control over children's Hassalas by guardians, and a new way to reward children.
366
+
367
+ Creating a Hassala for Kids
368
+
369
+ To create hassala for kids follow the steps:
370
+ 1- Through Warba Bank app’s main screen, select create a “Hassala”, then define a name for the Hassala and a goal.
371
+ 2- Click on “Link Hassala” and enter the kid’s details then create a PIN code for your child.
372
+ 3- To complete the process, download the “Hassala Kids” app on your child’s device and enter your child’s Civil ID and PIN code.
373
+
374
+ Postshipper Service:
375
+ A mail forwarding company that allows its customers to obtain UK and USA local shipping addresses for international purchases and shipments of items to local addresses in Kuwait. Customers can order, track, and pay for these shipments through the Warba app and receive their items through different couriers at competitive rates.
376
+
377
+ Personal Finance Management:
378
+ An advanced dashboard service that helps clients control their net worth. The main features include My Portfolio, which provides access to the client's assets in a graph showing their net worth, My Cashflow, which displays the inflow and outflow of money, and My Spending and Budget, which tracks spending trends and allows clients to set a budget plan. The service also provides updates on the client's banking experience with Warba Bank, as well as services such as Hassalaty, Payment Due, Request History, and the ability to fully customize the look and feel of the dashboard through the settings.
379
+
380
+ Entertainer Product:
381
+ A digital coupon subscription service that offers Buy One Get One Free and discount offers for restaurants, attractions, activities, sports, fitness venues, and more across Kuwait, Dubai, Qatar, KSA, and Oman. Users can access an annual pass for The Entertainer at a significant discount through Warba Pocket, which is fully integrated and accessible through Warba Bank.
382
+
383
+ Super Transfer (Service by Mastercard):
384
+ An international remittance service offered by Warba Bank that enables its retail customers to transfer funds internationally to predefined beneficiaries in a convenient and easy way. The service offers competitive FX rates, the ability to track transaction status, and ensures that the full amount remitted is received by the beneficiary. The two modes of transfer available are Bank Account transfer and Mobile Wallet transfer.
385
+
386
+ Mustashar Product:
387
+ A digital service from Warba Bank that provides tips and smart solutions to improve the customer's experience when using the bank's application. The service uses artificial intelligence to analyze available data and provide smart banking advice, as well as navigate customers to the required services directly and provide fast assistance.
388
+
389
+ Express Finance - Cash:
390
+ A financial financing product offered by Warba Bank that allows customers to obtain a finance of up to KD 250,000 in the form of Musawama, in return for holding funds as an investment. The guarantee held can be from a Savings account, Premium Saving account, Sunbula account, or Wakala fixed deposit. The product offers financing of up to KD 250,000, does not require a salary transfer, and is compatible with Sharia principles.
391
+
392
+ Split Bill:
393
+ A digital service that allows Warba Bank customers to request payments from anyone with a phone number and an ATM card for a local bank. Customers can go to the services tab in the Warba Bank app, choose the Pay Me service, and then choose between contacts for single or multiple money requests. The service allows customers to request from KD 5 to KD 500 per link, request up to KD 5,000 per month, track payment requests, send requests to 10 people a day, and send 10 links to the same person per day.
394
+
395
+ Smart Cash:
396
+ A digital service provided by Warba Bank that enables customers to transfer a cash amount from their credit card to their account directly and without any fees.
397
+
398
+ Steps of Smart Cash:
399
+
400
+ Step are as follow:
401
+ 1- Log in to Warba service via the application.
402
+ 2- Select the credit card tab, then the service "Smart Cash".
403
+ 3- The exact amount for this process will be calculated and displayed. You can adjust the desired amount and then click on "Submit Request".
404
+ 4- Enter the password, then press "Confirm".
405
+ 5- Upon successful completion of the application, the calculated amount will be deducted from the card immediately and deposited into customer's salary account.
406
+
407
+ JAM3EYA
408
+
409
+ What is Jam3eya?
410
+ Jam3eya is a new and advanced digital solution that transforms one of our social habits. This service provides a simple and organized way of handling group expenses.
411
+
412
+ Benefits of Jam3eya:
413
+
414
+ Select the monthly Jam3iya amount
415
+ Pick the number of participants
416
+ Choose the goal of the Jam3eya
417
+ Keep track of the invitations
418
+ Track monthly payments
419
+
420
+ MY BUDGET
421
+
422
+ What is My Budget?
423
+ My Budget is a service provided by Warba App that enables you to define your monthly expenses. This service helps you keep track of your monthly expenses and make smart financial decisions.
424
+
425
+ Benefits of My Budget:
426
+
427
+ Ease of setting a monthly plan
428
+ Help keep track of the monthly expenses
429
+ Save the monthly plan in the application
430
+ Ability to adjust the budget at any time
431
+ Notifications in case of exceeding the specified plan
432
+
433
+ DASHBOARD
434
+
435
+ What is Dashboard?
436
+ Warba Bank provides a smart platform that enables customers to track their spending and make smart financial decisions. This platform is known as Dashboard.
437
+
438
+ Benefits of Dashboard:
439
+
440
+ Track your monthly expenses
441
+ View spent amounts
442
+ Calculate your expenses of all types
443
+ Follow-up due payments
444
+ Follow up financial requests record
445
+ Know updates such as installments, payment dates, etc.
446
+
447
+ SHAKE AND SHARE
448
+
449
+ What is Shake and Share?
450
+ Shake and Share is a service provided by Warba Bank that allows customers to report any issue or suggest a new feature in the application. This service provides a convenient and efficient way of communicating with the bank.
451
+
452
+ Benefits of Shake and Share:
453
+
454
+ Ease of submitting suggestions.
455
+ No need to visit the bank.
456
+ Submit wherever you are.
457
+ Report your issue immediately.
458
+
459
+ MY PORTFOLIO
460
+
461
+ What is My Portfolio?
462
+ My Portfolio is a list that contains all the details of your accounts, credit cards, investment deposits, and debts. This service provides a comprehensive overview of your financial status.
463
+
464
+ SOCIAL CIRCLE
465
+
466
+ What is Social Circle?
467
+ Social Circle is a service that allows you to create and control all your beneficiaries with ease.
468
+
469
+ APPLY FOR CREDIT CARD
470
+
471
+ What is Apply for Credit Card?
472
+ Apply for Credit Card is a service that enables you to request the credit card that suits your banking needs.
473
+
474
+ OPEN & MANAGE DEPOSITS
475
+
476
+ What is Open & Manage Deposits?
477
+ Open & Manage Deposits is a service that allows you to create and control various types of deposits with ease.
478
+
479
+ ACTIVATE CARDS
480
+
481
+ What is Activate Cards?
482
+ Activate Cards is a service that enables you to activate your cards through the Warba Bank application with ease.
483
+
484
+ TRANSFER MONEY
485
+
486
+ What is Transfer Money?
487
+ Transfer Money is a service that allows you to easily transfer money with Warba Bank app.
488
+
489
+ SAFE LOGIN
490
+
491
+ What is Safe Login?
492
+ Safe Login is a feature that enables you to access the Warba Bank application safely by using face print technology.
493
+
494
+ PAYMENT SERVICES
495
+
496
+ What is the Payment Services?
497
+ The payment services offered by Warba Bank allow customers to purchase digital cards through the Warba Bank application.
498
+
499
+ MOBILE BILLS PAYMENTS
500
+
501
+ What is Mobile Bills Payments?
502
+ Warba Bank offers a mobile bill payment service that allows customers to pay and schedule phone bills easily and securely.
503
+
504
+ BRANCH & ATM LOCATIONS
505
+
506
+ Where are the Branch & ATM Locations?
507
+ All Warba Bank branch locations and ATMs can be found in the application.
508
+
509
+ CURRENCY EXCHANGE
510
+
511
+ What is Currency Exchange?
512
+ Customers can find out the currency exchange rates through the Warba Bank application.
513
+
514
+ FINANCE CALCULATOR
515
+
516
+ What is Finance Calculator?
517
+ The finance calculator provided by Warba Bank allows customers to calculate the required financing value and know the payment details.
518
+
519
+ PRAYER TIMES
520
+
521
+ What is Prayer Times?
522
+ The Warba Bank app allows customers to track prayer times and the direction of the Qiblah.
523
+
524
+ SALARIES LIST
525
+
526
+ What is Salaries List?
527
+ The salary disbursement schedule is available through the Warba Bank app.
528
+
529
+ WESTERN UNION
530
+
531
+ What is Western union in WARBA Bank?
532
+ Warba Bank introduces Western Union, an international send money service that provides customers with the opportunity to send money internationally to selected beneficiaries.
533
+
534
+ Why send money through Western Union with Warba Bank?
535
+ Sending money through Western Union with Warba Bank is quick and easy with competitive FX rates. The service also offers tracking transaction status, instant cash receiving by the beneficiary, multiple payout channels worldwide, a guarantee for the beneficiary to receive the full amount, loyalty programs, transfer discounts, and the ability to send money 24 hours a day, 7 days a week.
536
+
537
+ How to add a beneficiary in Western Union through WARBA Bank application?
538
+ To add a beneficiary in Western Union through the Warba Bank app, follow these steps:
539
+
540
+ Visit the services screen and click on the Transfer/Pay tap.
541
+ Click on “Western Union”.
542
+ Click on “Beneficiaries” to add a new beneficiary.
543
+ How to send money with Western Union through WARBA Bank application?
544
+ To send money with Western Union through the Warba Bank app, follow these steps:
545
+
546
+ Click on “Western Union”.
547
+ Select “Send Money”.
548
+ Select the beneficiary and payment account.
549
+ Press calculate to view the exchange rates and fees.
550
+ Click on “send Money” to confirm.
551
+ How to track your transfer of Western Union or Cancel the Western Union transfer?
552
+ To track your transfer of Western Union or cancel the transfer, follow these steps:
553
+
554
+ 1-Click on “Western Union “.
555
+ 2-Select “History " Tap.
556
+ 3-View your transaction details/status.
557
+ 4-To cancel transaction, click on Refund Money.
558
+ Question: What is I Pay service?
559
+ Answer: It is a new service provided to Warba bank customers for instant payment to beneficiaries' accounts with local banks using Knet gateway 24/7 in an easy, fast and safe way.
560
+
561
+ I Pay Service:
562
+ The I Pay service is an instant payment service provided by Warba Bank that allows customers to make payments to beneficiaries with local banks using the Knet gateway. The conditions for using the I Pay service are as follows:
563
+
564
+ Minimum amount: 5 KD
565
+ Maximum amount per day: 1000 KD
566
+ Maximum amount per month: 5000 KD
567
+ Maximum amount per transaction: 500 KD
568
+ Payment link validity: 24 hours
569
+ Kuwait Clearing Company (Maqasa):
570
+ With Warba Bank, customers can keep up with the stock market through the Kuwait Clearing Company (Maqasa) service. The service displays all the available shares in KCC and their last closed market price by Borusa Kuwait. The benefits of using the Kuwait Clearing Company (Maqasa) service are:
571
+
572
+ Simple integration with KCC
573
+ No need to know the trading ID
574
+ No need for any further documents from the customer
575
+ Shows all shares available in KCC and their last closed market price by Borusa Kuwait
576
+ Free of charge service
577
+ To subscribe to the Kuwait Clearing Company (Maqasa) service, customers need to follow these steps:
578
+
579
+ Go to the “KCC Widget” from the dashboard.
580
+ Click on “Link Your KCC account”
581
+ Read and agree to the terms and conditions.
582
+ Enter your password for verification.
583
+
584
+ Private Housing Finance:
585
+ Warba Bank also offers a unique service called Private Housing Finance, which allows customers to benefit from calculating and displaying the discretionary deal for housing finance. To use the Private Housing Finance service, customers need to follow these steps:
586
+
587
+ Click on the side menu “Other Options” and then click the “Private Housing Finance” icon
588
+ Select the finance amount, property type, down payment, and the duration needed
589
+ The full financed deal will be shown to the customer and they can continue the financing journey by tapping “Next”
590
+ In the income verification step, the customer should fill in all the incomes generated from:
591
+ a. Net business profit
592
+ b. Real estate incomes
593
+ c. Property target to purchase (optionally)
594
+ The customer can submit their request by filling in their name and mobile number
595
+ A general message will be shown, and one of Warba Bank's agents will contact the customer in a short time.
596
+
597
+ Salary Transfer Certificate:
598
+ Warba Bank allows customers to request a Salary Transfer Certificate either by visiting a branch or through the Wabra mobile application. This service makes it convenient for customers to have their salary transfer certificate available at their fingertips.
599
+
600
+
601
+ Warba Bank offers several financial services to its customers to make their banking experience more convenient and efficient.
602
+ Warba Bank is a modern banking solution that provides a wide range of financial services to its customers. The bank offers a mobile application that allows customers to access their accounts, pay bills, manage their finances, and more. In this script, we will discuss the various services provided by Warba Bank and how to use them through the mobile application.
603
+
604
+
605
+
606
+ """
607
+
608
+ #@title Environment Vars
609
+ openai_api_key = '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'
610
+
611
+ import os
612
+ os.environ["OPENAI_API_KEY"] = openai_api_key
613
+
614
+ from langchain.embeddings.openai import OpenAIEmbeddings
615
+ from langchain.vectorstores.faiss import FAISS
616
+ from langchain.text_splitter import RecursiveCharacterTextSplitter
617
+ from langchain import OpenAI, VectorDBQA
618
+
619
+
620
+ text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
621
+ texts = text_splitter.split_text(state_of_the_union)
622
+
623
+ embeddings = OpenAIEmbeddings()
624
+ vectorstore = FAISS.from_texts(texts, embeddings)
625
+
626
+ qa = VectorDBQA.from_chain_type(llm=OpenAI(), chain_type="stuff", vectorstore=vectorstore)
627
+
628
+ query = "What is warba bank?"
629
+ qa.run(query)
630
+
631
+ llm = OpenAI()
632
+ llm(query)
633
+
634
+ from langchain.chains import load_chain
635
+
636
+ chain = load_chain("lc://chains/vector-db-qa/stuff/chain.json", vectorstore=vectorstore)
637
+
638
+ query = "I am w segment and my spends are 3000 international and 1000 local, calculate my cashback"
639
+ chain.run(query)
640
+
641
+ query = "I am w segment and my spends are 3000 international and 1000 local, calculate my cashback"
642
+ chain.run(query)
643
+
644
+ !pip install streamlit
645
+
646
+ import streamlit as st
647
+
648
+ # State of Union Text
649
+ #state_of_the_union = """ data"""
650
+
651
+ # Environment Vars
652
+ openai_api_key = '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'
653
+ import os
654
+ os.environ["OPENAI_API_KEY"] = openai_api_key
655
+
656
+ from langchain.embeddings.openai import OpenAIEmbeddings
657
+ from langchain.vectorstores.faiss import FAISS
658
+ from langchain.text_splitter import RecursiveCharacterTextSplitter
659
+ from langchain import OpenAI, VectorDBQA
660
+
661
+
662
+ text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
663
+ texts = text_splitter.split_text(state_of_the_union)
664
+
665
+ embeddings = OpenAIEmbeddings()
666
+ vectorstore = FAISS.from_texts(texts, embeddings)
667
+ qa = VectorDBQA.from_chain_type(llm=OpenAI(), chain_type="stuff", vectorstore=vectorstore)
668
+
669
+ from langchain.chains import load_chain
670
+
671
+ chain = load_chain("lc://chains/vector-db-qa/stuff/chain.json", vectorstore=vectorstore)
672
+
673
+ def run_chain(query):
674
+ return chain.run(query)
675
+
676
+ st.title("Vector-based DBQA with OpenAI and Langchain")
677
+ query = st.text_input("Enter your query:")
678
+ if st.button("Ask"):
679
+ answer = run_chain(query)
680
+ st.write("Answer:", answer)
681
+
682
+ !pip install gradio
683
+
684
+ import gradio as gr
685
+
686
+ # State of Union Text
687
+ #state_of_the_union = """ data"""
688
+
689
+ # Environment Vars
690
+ openai_api_key = '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'
691
+
692
+ import os
693
+ os.environ["OPENAI_API_KEY"] = openai_api_key
694
+
695
+ from langchain.embeddings.openai import OpenAIEmbeddings
696
+ from langchain.vectorstores.faiss import FAISS
697
+ from langchain.text_splitter import RecursiveCharacterTextSplitter
698
+ from langchain import OpenAI, VectorDBQA
699
+
700
+
701
+ text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
702
+ texts = text_splitter.split_text(state_of_the_union)
703
+
704
+ embeddings = OpenAIEmbeddings()
705
+ vectorstore = FAISS.from_texts(texts, embeddings)
706
+ qa = VectorDBQA.from_chain_type(llm=OpenAI(), chain_type="stuff", vectorstore=vectorstore)
707
+
708
+ from langchain.chains import load_chain
709
+
710
+ chain = load_chain("lc://chains/vector-db-qa/stuff/chain.json", vectorstore=vectorstore)
711
+
712
+ def run_chain(query):
713
+ return chain.run(query)
714
+
715
+ inputs = gr.inputs.Textbox(lines=1, label="Enter your Question:")
716
+ outputs = gr.outputs.Textbox(label="Answer:")
717
+
718
+ def run_app(input):
719
+ return run_chain(input)
720
+
721
+ gr.Interface(fn=run_app, inputs=inputs, outputs=outputs, title="The following is a conversation with a human called Shegardi. Shegardi is helpful, precise, truthful, and very friendly. Also, Shegardi is an employee of Warba Bank, located in Kuwait. Shegardi will only use the information provided to him.").launch(share=True)
722
+
723
+ query
724
+
725
+
726
+