free tier
Browse files
app.py
CHANGED
|
@@ -65,65 +65,6 @@ Other Links:
|
|
| 65 |
- https://kevinwkc.github.io/davinci/
|
| 66 |
""")
|
| 67 |
|
| 68 |
-
with gr.Tab("RAG Recommender"):
|
| 69 |
-
gr.Markdown("""
|
| 70 |
-
Objective: Dynamic RBC Product Recommender: Personalize Offers Using Customer Persona Insights
|
| 71 |
-
================================================
|
| 72 |
-
- Retrieval: Public RBC Product Data, other massive dataset: customers data
|
| 73 |
-
- Recommend: RBC Product
|
| 74 |
-
|
| 75 |
-
##### free tier hosting system limitation for this use case
|
| 76 |
-
- cannot use any workable embedding model due to big size
|
| 77 |
-
- this is not functioning correctly since I just replace embedding with a random matrix.
|
| 78 |
-
- it will work under normal environment.
|
| 79 |
-
|
| 80 |
-
##### Potential Optimization
|
| 81 |
-
BM25 reranking using keyword
|
| 82 |
-
""")
|
| 83 |
-
in_verbatim = gr.Textbox(label="Verbatim")
|
| 84 |
-
out_product = gr.Textbox(label="Product")
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
gr.Examples(
|
| 88 |
-
[
|
| 89 |
-
["Low APR and great customer service. I would highly recommend if you’re looking for a great credit card company and looking to rebuild your credit. I have had my credit limit increased annually and the annual fee is very low."]
|
| 90 |
-
],
|
| 91 |
-
[in_verbatim]
|
| 92 |
-
)
|
| 93 |
-
btn_recommend=gr.Button("Recommend")
|
| 94 |
-
btn_recommend.click(fn=rbc_product, inputs=in_verbatim, outputs=out_product)
|
| 95 |
-
|
| 96 |
-
gr.Markdown("""
|
| 97 |
-
Companies pour millions into product catalogs, marketing funnels, and user acquisition—yet many still face the same challenge:
|
| 98 |
-
==================
|
| 99 |
-
### 📉 Pain points:
|
| 100 |
-
- High bounce rates and low conversion despite heavy traffic
|
| 101 |
-
- Customers struggle to find relevant products on their own
|
| 102 |
-
- One-size-fits-all promotions result in wasted ad spend and poor ROI
|
| 103 |
-
|
| 104 |
-
### 🧩 The real question:
|
| 105 |
-
What if your product catalog could *adapt itself* to each user in real time—just like your best salesperson would?
|
| 106 |
-
|
| 107 |
-
### 🎯 The customer need:
|
| 108 |
-
Businesses need a way to dynamically personalize product discovery, so every customer sees the most relevant items—without manually configuring hundreds of rules.
|
| 109 |
-
|
| 110 |
-
## ✅ Enter: Product Recommender Systems
|
| 111 |
-
|
| 112 |
-
By analyzing behavioral data, preferences, and historical purchases, a recommender engine surfaces what each user is most likely to want—boosting engagement and revenue.
|
| 113 |
-
|
| 114 |
-
### 📌 Real-world use cases:
|
| 115 |
-
- **Amazon** attributes up to 35% of its revenue to its recommender system, which tailors the home page, emails, and checkout cross-sells per user.
|
| 116 |
-
- **Netflix** leverages personalized content recommendations to reduce churn and increase watch time—saving the company over $1B annually in retention value.
|
| 117 |
-
- **Stitch Fix** uses machine learning-powered recommendations to curate clothing boxes tailored to individual style profiles—scaling personal styling.
|
| 118 |
-
|
| 119 |
-
### 💡 Business benefits:
|
| 120 |
-
- Higher conversion rates through relevant discovery
|
| 121 |
-
- Increased average order value (AOV) via cross-sell and upsell
|
| 122 |
-
- Improved retention and lower customer acquisition cost (CAC)
|
| 123 |
-
|
| 124 |
-
If your product discovery experience isn’t working as hard as your marketing budget, it’s time to make your catalog intelligent—with recommendations that convert.
|
| 125 |
-
""")
|
| 126 |
-
|
| 127 |
with gr.Tab("Tool Use Competitive Research"):
|
| 128 |
gr.Markdown("""
|
| 129 |
Objective: Persona-Driven Financial Product Recommendations: Unlock Competitive Advantage & Feature Innovation
|
|
@@ -557,4 +498,64 @@ For example, Comcast reduced repeat service calls by 17% after deploying entity
|
|
| 557 |
|
| 558 |
This approach aligns with best-in-class use cases where feedback-driven personalization drives measurable business growth
|
| 559 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 560 |
demo.launch(allowed_paths=["."])
|
|
|
|
| 65 |
- https://kevinwkc.github.io/davinci/
|
| 66 |
""")
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
with gr.Tab("Tool Use Competitive Research"):
|
| 69 |
gr.Markdown("""
|
| 70 |
Objective: Persona-Driven Financial Product Recommendations: Unlock Competitive Advantage & Feature Innovation
|
|
|
|
| 498 |
|
| 499 |
This approach aligns with best-in-class use cases where feedback-driven personalization drives measurable business growth
|
| 500 |
""")
|
| 501 |
+
|
| 502 |
+
with gr.Tab("RAG Recommender"):
|
| 503 |
+
gr.Markdown("""
|
| 504 |
+
Objective: Dynamic RBC Product Recommender: Personalize Offers Using Customer Persona Insights
|
| 505 |
+
================================================
|
| 506 |
+
- Retrieval: Public RBC Product Data, other massive dataset: customers data
|
| 507 |
+
- Recommend: RBC Product
|
| 508 |
+
|
| 509 |
+
##### __free tier hosting system limitation for this use case__
|
| 510 |
+
- cannot use any workable embedding model due to big size
|
| 511 |
+
- this is not functioning correctly since I just replace embedding with a random matrix.
|
| 512 |
+
- it will work under normal environment.
|
| 513 |
+
|
| 514 |
+
##### Potential Optimization
|
| 515 |
+
BM25 reranking using keyword
|
| 516 |
+
""")
|
| 517 |
+
in_verbatim = gr.Textbox(label="Verbatim")
|
| 518 |
+
out_product = gr.Textbox(label="Product")
|
| 519 |
+
|
| 520 |
+
gr.Examples(
|
| 521 |
+
[
|
| 522 |
+
[
|
| 523 |
+
"Low APR and great customer service. I would highly recommend if you’re looking for a great credit card company and looking to rebuild your credit. I have had my credit limit increased annually and the annual fee is very low."]
|
| 524 |
+
],
|
| 525 |
+
[in_verbatim]
|
| 526 |
+
)
|
| 527 |
+
btn_recommend = gr.Button("Recommend")
|
| 528 |
+
btn_recommend.click(fn=rbc_product, inputs=in_verbatim, outputs=out_product)
|
| 529 |
+
|
| 530 |
+
gr.Markdown("""
|
| 531 |
+
Companies pour millions into product catalogs, marketing funnels, and user acquisition—yet many still face the same challenge:
|
| 532 |
+
==================
|
| 533 |
+
### 📉 Pain points:
|
| 534 |
+
- High bounce rates and low conversion despite heavy traffic
|
| 535 |
+
- Customers struggle to find relevant products on their own
|
| 536 |
+
- One-size-fits-all promotions result in wasted ad spend and poor ROI
|
| 537 |
+
|
| 538 |
+
### 🧩 The real question:
|
| 539 |
+
What if your product catalog could *adapt itself* to each user in real time—just like your best salesperson would?
|
| 540 |
+
|
| 541 |
+
### 🎯 The customer need:
|
| 542 |
+
Businesses need a way to dynamically personalize product discovery, so every customer sees the most relevant items—without manually configuring hundreds of rules.
|
| 543 |
+
|
| 544 |
+
## ✅ Enter: Product Recommender Systems
|
| 545 |
+
|
| 546 |
+
By analyzing behavioral data, preferences, and historical purchases, a recommender engine surfaces what each user is most likely to want—boosting engagement and revenue.
|
| 547 |
+
|
| 548 |
+
### 📌 Real-world use cases:
|
| 549 |
+
- **Amazon** attributes up to 35% of its revenue to its recommender system, which tailors the home page, emails, and checkout cross-sells per user.
|
| 550 |
+
- **Netflix** leverages personalized content recommendations to reduce churn and increase watch time—saving the company over $1B annually in retention value.
|
| 551 |
+
- **Stitch Fix** uses machine learning-powered recommendations to curate clothing boxes tailored to individual style profiles—scaling personal styling.
|
| 552 |
+
|
| 553 |
+
### 💡 Business benefits:
|
| 554 |
+
- Higher conversion rates through relevant discovery
|
| 555 |
+
- Increased average order value (AOV) via cross-sell and upsell
|
| 556 |
+
- Improved retention and lower customer acquisition cost (CAC)
|
| 557 |
+
|
| 558 |
+
If your product discovery experience isn’t working as hard as your marketing budget, it’s time to make your catalog intelligent—with recommendations that convert.
|
| 559 |
+
""")
|
| 560 |
+
|
| 561 |
demo.launch(allowed_paths=["."])
|