Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def chatbot(input,systemInstructions):
|
|
| 17 |
chat = openai.ChatCompletion.create(
|
| 18 |
model="gpt-3.5-turbo",
|
| 19 |
messages=messages,
|
| 20 |
-
temperature=0.
|
| 21 |
top_p=0.3,
|
| 22 |
n=1,
|
| 23 |
max_tokens = 1024,
|
|
@@ -52,93 +52,99 @@ Can I stop by your warehouse and pick up my order? Yes. Let us know 48 hrs prior
|
|
| 52 |
Do you offer any financial help for someone with poor credit? We do not offer any financial help or financing options for customers with poor credit. However, we give extra discount on our demo trikes.
|
| 53 |
For customers unable to afford the full price or with poor credit: Our website allows customers to select installment payments during the checkout process. If installment payments aren't an option, we provide demo vehicles. Our sales representatives can reach out to you with further information. Typically, demo vehicles are priced at about half the regular cost.
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
Maximum
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
Motor
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
Battery
|
| 100 |
-
Battery
|
| 101 |
-
Battery
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
Transmission type 7-Speed
|
| 107 |
-
Front brake type
|
| 108 |
-
Rear brake type
|
| 109 |
-
Tire size
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
Battery
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
|
| 143 |
Assembly Service:
|
| 144 |
When you purchase an electric trike from our company, we provide a convenient and hassle-free expert full assembly service, available for customers across all States. Our experienced technicians will professionally assemble your electric trike, ensuring that all components are properly installed, adjusted, and tested before it is shipped to you.
|
|
@@ -158,58 +164,11 @@ If the warranty is void for any reason the customer shall bear any repair or rep
|
|
| 158 |
Always follow care and preventive maintenance procedures.
|
| 159 |
Always keep receipts from any services performed to the vehicle by an authorized distributor or service center.
|
| 160 |
|
| 161 |
-
The warranty will be voided by any of the following circumstances:
|
| 162 |
-
Failure to follow all directions or recommendations listed in the user manual.
|
| 163 |
-
Cycling collision, accidents or vehicle damage caused by careless parking
|
| 164 |
-
Acts in violation of laws
|
| 165 |
-
Failure to register your ebike
|
| 166 |
-
DIY repairs on electronics
|
| 167 |
-
Abusive use of the bicycle in off-road terrain, mud, snow, water, sand, gravel and water
|
| 168 |
-
If the bicycle is used as rental unit
|
| 169 |
-
Damages caused by natural disasters, such as earthquakes, lightning, fire, flooding and other hazards.
|
| 170 |
-
Rust and/or paint fading caused by heavy exposure to rain, hail, snow or direct sunlight for prolonged periods of time.
|
| 171 |
-
Overloading beyond the recommended capacity .
|
| 172 |
-
Damages caused by nails, needles, broken glass , debris, sharp rocks or other foreign objects.
|
| 173 |
-
Use of the vehicle for stunts, jumping from ramps, stairs, or elevated ramps.
|
| 174 |
-
If vehicle is used in competitions or racing.
|
| 175 |
-
Modifications made to the motor, electrical system, suspension frame, and battery.
|
| 176 |
-
Use of components not approved by the manufacturer.
|
| 177 |
-
Damages resulted from improper care and handling.
|
| 178 |
-
Due to the nature of the product some components must be exclusive from the manufacturer such as but not limited to the battery, motor, main gauge cluster, controllers, Led headlights, brake drums or disc rotors and pads etc. Other components such as tires, tubes, saddle, racks, baskets may be used from market-ready or compatible products previous approval from the retailer or manufacturer.
|
| 179 |
-
|
| 180 |
-
Return
|
| 181 |
-
We have a 30-day return policy, which means you have 30 days after receiving your EMOJO BIKE to request a return.
|
| 182 |
-
Returns are not allowed after 30 days of the delivery date.
|
| 183 |
-
To be eligible for a return, your item must be in the same condition that you received it, unworn, unused or the ebike must have less than ten (10) miles on the odometer, and must include all items that were inside the box (charger, keys, hardware, etc.), and in its original packaging. You will also need the receipt or proof of purchase.
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
Damages and issues
|
| 187 |
-
Please inspect your order upon reception and contact us immediately if the item is defective, damaged, or if you receive the wrong item, so that we can evaluate the issue and make it right for you.
|
| 188 |
-
To start a return, you can contact us at support@emojobike.com. If your return is accepted, we will send you a return shipping label, as well as instructions on how and where to send your package. Items sent back to us without first requesting a return will not be accepted. EMOJO bike is not responsible for the shipping cost of the packages returned by the customers themselves.
|
| 189 |
-
You can always contact us for any return question at support@emojobike.com
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
Shipping and Handling fee for non-quality issue return:
|
| 193 |
-
E-Bikes $150/pc for a return
|
| 194 |
-
E-Trikes $250/pc for a return
|
| 195 |
-
Phone Holder, charger $15/pc for a return
|
| 196 |
-
Front and Rear Basket $20/pc for a return
|
| 197 |
-
E-bike Batteries $30/pc for a return
|
| 198 |
-
|
| 199 |
-
Exchange for new model
|
| 200 |
-
This term is only for the unworn, unused, unopened package, the ebike/etrike
|
| 201 |
-
must have less than 10 miles on the odometer.
|
| 202 |
-
Within 30 days-Same model but different color $200/pc for the return
|
| 203 |
-
Within 30 days-Different model $200/pc for the return plus the price difference
|
| 204 |
-
Over 30 days Exchange is no longer possible
|
| 205 |
-
For returned items or items for exchange, we will need 3-6 business days upon receiving your item(s) to process the solution.
|
| 206 |
-
After this period, we will refund within 3 business days.
|
| 207 |
-
We will notify you once we’ve received and inspected your return, and let you know if the refund has been approved or not. If approved, the refund will be automatically processed on your original payment method. Please note that it may take some time for your bank or credit card company to process and post the refund.
|
| 208 |
"""
|
| 209 |
|
| 210 |
generatedKnowledgeCorpus = generatedKnowledgeCorpus.replace("\n","")
|
| 211 |
-
systemInstructions = "You are a customer
|
| 212 |
-
|
| 213 |
systemInstructions = systemInstructions + '\n\n' + generatedKnowledgeCorpus
|
| 214 |
|
| 215 |
response = chatbot(input, systemInstructions)
|
|
|
|
| 17 |
chat = openai.ChatCompletion.create(
|
| 18 |
model="gpt-3.5-turbo",
|
| 19 |
messages=messages,
|
| 20 |
+
temperature=0.6,
|
| 21 |
top_p=0.3,
|
| 22 |
n=1,
|
| 23 |
max_tokens = 1024,
|
|
|
|
| 52 |
Do you offer any financial help for someone with poor credit? We do not offer any financial help or financing options for customers with poor credit. However, we give extra discount on our demo trikes.
|
| 53 |
For customers unable to afford the full price or with poor credit: Our website allows customers to select installment payments during the checkout process. If installment payments aren't an option, we provide demo vehicles. Our sales representatives can reach out to you with further information. Typically, demo vehicles are priced at about half the regular cost.
|
| 54 |
|
| 55 |
+
|
| 56 |
+
MODEL RAM SS
|
| 57 |
+
Motor type DC Brushless
|
| 58 |
+
Motor power 750W
|
| 59 |
+
Rated Voltage 48 V
|
| 60 |
+
Maximum speed 20 MPH
|
| 61 |
+
Battery range 30Miles
|
| 62 |
+
Battery charging time 4 - 6hours
|
| 63 |
+
Battery type Lithium-Ion
|
| 64 |
+
Battery capacity 48V/10.4Ah
|
| 65 |
+
Dimensions (inch) 67L x 24 W x 45 H
|
| 66 |
+
Dimensions folded 39L x 18 W x 26H
|
| 67 |
+
Frame Aluminum-foldable
|
| 68 |
+
Max. user weight 230 lbs
|
| 69 |
+
Vehicle weight 55 lbs (with battery)
|
| 70 |
+
Transmission type Shimano 7-Speed
|
| 71 |
+
Front brake type Tektro-Disc
|
| 72 |
+
Rear brake type Tektro-Disc
|
| 73 |
+
Tire size 20" x 4"
|
| 74 |
+
|
| 75 |
+
MODEL LYNX PRO 750
|
| 76 |
+
Motor type DC Brushless
|
| 77 |
+
Motor power 750W
|
| 78 |
+
Rated Voltage 48 V
|
| 79 |
+
Maximum speed 20 MPH
|
| 80 |
+
Battery range 30 Miles
|
| 81 |
+
Battery charging time 4 - 6hours
|
| 82 |
+
Battery type Lithium-Ion
|
| 83 |
+
Battery capacity 48V/10.4Ah
|
| 84 |
+
Dimensions (inch) 67L x 24 W x 45 H
|
| 85 |
+
Dimensions folded 39L x 18 W x 26H
|
| 86 |
+
Frame Aluminum-foldable
|
| 87 |
+
Max. user weight 230 lbs
|
| 88 |
+
Vehicle weight 55 lbs (with battery)
|
| 89 |
+
Transmission type Shimano Altus 7-Speed
|
| 90 |
+
Front brake type Tektro-Disc
|
| 91 |
+
Rear brake type Tektro-Disc
|
| 92 |
+
Tire size 20" x 4"
|
| 93 |
+
|
| 94 |
+
MODEL WILDCAT PRO 750
|
| 95 |
+
Motor type DC Brushless
|
| 96 |
+
Motor power 750W
|
| 97 |
+
Rated Voltage 48V
|
| 98 |
+
Maximum speed 20 MPH
|
| 99 |
+
Battery range 30 Miles
|
| 100 |
+
Battery charging time 4-6 hours
|
| 101 |
+
Battery type Lithium-Ion
|
| 102 |
+
Battery capacity 48V/10.4 Ah
|
| 103 |
+
Dimensions (inch) 78L x 25W x 43H
|
| 104 |
+
Frame Aluminum-Rigid
|
| 105 |
+
Max.user weight 330 lbs
|
| 106 |
+
Transmission type Shimano 7-Speed
|
| 107 |
+
Front brake type hydraulic brake
|
| 108 |
+
Rear brake type hydraulic brake
|
| 109 |
+
Tire size 26" x 4"
|
| 110 |
+
|
| 111 |
+
MODEL WILDCAT
|
| 112 |
+
Motor type DC Brushless
|
| 113 |
+
Motor power 500W
|
| 114 |
+
Rated Voltage 48V
|
| 115 |
+
Maximum speed 20 MPH
|
| 116 |
+
Battery range 30 Miles
|
| 117 |
+
Battery charging time 4-6 hours
|
| 118 |
+
Battery type Lithium-Ion
|
| 119 |
+
Battery capacity 48V/10.4 Ah
|
| 120 |
+
Dimensions (inch) 78L x 25W x 43H
|
| 121 |
+
Frame Aluminum-Rigid
|
| 122 |
+
Max.user weight 330 lbs
|
| 123 |
+
Transmission type Shimano 7-Speed
|
| 124 |
+
Front brake type hydraulic brake
|
| 125 |
+
Rear brake type hydraulic brake
|
| 126 |
+
Tire size 26" x 4"
|
| 127 |
+
|
| 128 |
+
MODEL RAM SS
|
| 129 |
+
Motor type DC Brushless
|
| 130 |
+
Motor power 750W
|
| 131 |
+
Rated Voltage 48 V
|
| 132 |
+
Maximum speed 20 MPH
|
| 133 |
+
Battery range 30Miles
|
| 134 |
+
Battery charging time 4 - 6hours
|
| 135 |
+
Battery type Lithium-Ion
|
| 136 |
+
Battery capacity 48V/10.4Ah
|
| 137 |
+
Dimensions (inch) 67L x 24 W x 45 H
|
| 138 |
+
Dimensions folded 39L x 18 W x 26H
|
| 139 |
+
Frame Aluminum-foldable
|
| 140 |
+
Max. user weight 230 lbs
|
| 141 |
+
Vehicle weight 55 lbs (with battery)
|
| 142 |
+
Transmission type Shimano 7-Speed
|
| 143 |
+
Front brake type Tektro-Disc
|
| 144 |
+
Rear brake type Tektro-Disc
|
| 145 |
+
Tire size 20" x 4"
|
| 146 |
+
|
| 147 |
+
|
| 148 |
|
| 149 |
Assembly Service:
|
| 150 |
When you purchase an electric trike from our company, we provide a convenient and hassle-free expert full assembly service, available for customers across all States. Our experienced technicians will professionally assemble your electric trike, ensuring that all components are properly installed, adjusted, and tested before it is shipped to you.
|
|
|
|
| 164 |
Always follow care and preventive maintenance procedures.
|
| 165 |
Always keep receipts from any services performed to the vehicle by an authorized distributor or service center.
|
| 166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
"""
|
| 168 |
|
| 169 |
generatedKnowledgeCorpus = generatedKnowledgeCorpus.replace("\n","")
|
| 170 |
+
systemInstructions = "You are a customer who purchased emojo bike and will write excellent customer reviews. Use the following text and write. '\
|
| 171 |
+
"
|
| 172 |
systemInstructions = systemInstructions + '\n\n' + generatedKnowledgeCorpus
|
| 173 |
|
| 174 |
response = chatbot(input, systemInstructions)
|