subhankarfynd commited on
Commit
efa6b20
Β·
1 Parent(s): c03c6ef

Update pages/1_πŸ“Š_About.py

Browse files
Files changed (1) hide show
  1. pages/1_πŸ“Š_About.py +149 -2
pages/1_πŸ“Š_About.py CHANGED
@@ -6,6 +6,148 @@ add_logo("cml_logo.png")
6
  st.markdown("# About Semantic Search with LLMs")
7
  st.sidebar.header("About Semantic Search with LLMs")
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  tab1, tab2 = st.tabs(["Product Discovery", "Question And Answering"])
10
  with tab1:
11
  st.header("Product Discovery")
@@ -23,7 +165,8 @@ with tab1:
23
  st.markdown("**Index Type:** FLAT_L2")
24
 
25
  st.subheader("Input Sample Data:")
26
- st.markdown("Sample data can be displayed here.")
 
27
 
28
  st.subheader("Steps")
29
  st.markdown("**Training:**")
@@ -53,7 +196,11 @@ with tab2:
53
  st.markdown("**Support file type:** JSON")
54
  st.markdown("**Similarity Metric:** Inner Product")
55
  st.markdown("**Type of Index:** FLAT_L2")
56
-
 
 
 
 
57
  st.subheader("Steps")
58
  st.markdown("**Training:**")
59
  st.markdown("1. Pull Textual policy documents from FDK")
 
6
  st.markdown("# About Semantic Search with LLMs")
7
  st.sidebar.header("About Semantic Search with LLMs")
8
 
9
+ data = {
10
+ "itemType": "standard",
11
+ "identifiers": [
12
+ "2000000021558",
13
+ "TC-ST-1179-GRYMIC-05",
14
+ "2000000021559",
15
+ "TC-ST-1179-GRYMIC-04",
16
+ "TC-ST-1179-GRYMIC"
17
+ ],
18
+ "itemCode": "TC-ST-1179-GRYMIC",
19
+ "discount": "50% OFF",
20
+ "sellable": True,
21
+ "shortDescription": "Grey Suede Block Heel Thigh High Boots",
22
+ "type": "product",
23
+ "moq": {
24
+ "minimum": 1,
25
+ "incrementUnit": 1
26
+ },
27
+ "uid": 7998510,
28
+ "medias": [
29
+ {
30
+ "alt": "Women's Grey Suede Solid Zip Boot",
31
+ "type": "image",
32
+ "url": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/products/pictures/item/free/original/TC-ST-1179-GRYMIC-06/kqUUe8vxsw-1.jpg"
33
+ },
34
+ {
35
+ "alt": "Women's Grey Suede Solid Zip Boot",
36
+ "type": "image",
37
+ "url": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/products/pictures/item/free/original/TC-ST-1179-GRYMIC-06/IM7PcAPFJZ-2.jpg"
38
+ },
39
+ {
40
+ "alt": "Women's Grey Suede Solid Zip Boot",
41
+ "type": "image",
42
+ "url": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/products/pictures/item/free/original/TC-ST-1179-GRYMIC-06/AJIBIUCvxP-3.jpg"
43
+ },
44
+ {
45
+ "alt": "Women's Grey Suede Solid Zip Boot",
46
+ "type": "image",
47
+ "url": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/products/pictures/item/free/original/TC-ST-1179-GRYMIC-06/IMK_3eXpDd-4.jpg"
48
+ },
49
+ {
50
+ "alt": "Women's Grey Suede Solid Zip Boot",
51
+ "type": "image",
52
+ "url": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/products/pictures/item/free/original/TC-ST-1179-GRYMIC-06/aAuGC38U0F-5.jpg"
53
+ }
54
+ ],
55
+ "sizes": [
56
+ "4",
57
+ "5"
58
+ ],
59
+ "price": {
60
+ "marked": {
61
+ "min": 5299,
62
+ "max": 5299,
63
+ "currencySymbol": "?",
64
+ "currencyCode": "INR"
65
+ },
66
+ "effective": {
67
+ "min": 2649,
68
+ "max": 2649,
69
+ "currencySymbol": "?",
70
+ "currencyCode": "INR"
71
+ }
72
+ },
73
+ "name": "Women's Grey Suede Solid Zip Boot",
74
+ "action": {
75
+ "page": {
76
+ "type": "product",
77
+ "params": {
78
+ "slug": [
79
+ "grey-suede-block-heel-thigh-high-boots-adn4xg1awn7"
80
+ ]
81
+ }
82
+ },
83
+ "type": "page"
84
+ },
85
+ "attributes": {
86
+ "closure_type": "Zip",
87
+ "occasion": "Casual",
88
+ "heel-height": "3.5",
89
+ "boot_length": "Knee",
90
+ "color": "Grey",
91
+ "gender": "women",
92
+ "arch_type": "High-Top",
93
+ "sustainable": "Regular",
94
+ "primary_color_hex": "808080",
95
+ "pattern": "Solid",
96
+ "description": "Whether you're headed to the office or a night out, these stylish grey boots from Truffle Collection are the perfect accessory. Made from suede materials with a solid pattern, they'll keep your feet comfortable and stylish all day long. With their effortless design and casual chic look, they're perfect for any occasion. Get yours now and take your style to the next level!",
97
+ "toe_type": "Pointed Toe",
98
+ "primary_color": "Grey",
99
+ "marketer-address": "C-144, Okhla Industrial Area, Phase-1, New Delhi - 110020",
100
+ "sole-material": "Sheet Sole",
101
+ "lifestyle": "Streetwear",
102
+ "material": "Suede",
103
+ "name": "Women's Grey Suede Solid Zip Boot",
104
+ "marketer-name": "Devyog Solution Pvt Ltd",
105
+ "season": "AW21",
106
+ "primary_material": "Suede",
107
+ "care_instructions": "Surface Dirt Can Be Cleaned With A Good Quality Brush Or A Damp Cloth.",
108
+ "net-quantity": "2 N"
109
+ },
110
+ "categories": [
111
+ {
112
+ "uid": 175,
113
+ "name": "Boots",
114
+ "logo": {
115
+ "type": "image",
116
+ "url": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/media/banner_portrait/brand/original/540_ecba3a1af141467da8abc20500f983db.jpg"
117
+ },
118
+ "action": {
119
+ "page": {
120
+ "query": {
121
+ "category": [
122
+ "boots"
123
+ ]
124
+ },
125
+ "type": "products"
126
+ },
127
+ "type": "page"
128
+ }
129
+ }
130
+ ],
131
+ "seo": {
132
+ "description": "Grey Suede Block Heel Thigh High Boots",
133
+ "title": "Women's Grey Suede Solid Zip Boot"
134
+ },
135
+ "brand": {
136
+ "name": "Truffle Collection",
137
+ },
138
+ "slug": "grey-suede-block-heel-thigh-high-boots-adn4xg1awn7"
139
+ }
140
+
141
+ qna_data = {
142
+ "tnc": "\n**INTRODUCTION**\n\nWe are Shopsense Retail Technologies Limited, hereinafter referred to as Fynd. \n\nCIN: U52100MH2012PTC236314\nRegistered Office: 1st Floor, Wework Vijay Diamond, Opp. SBI Branch, Cross Road B, Ajit Nagar, Kondivita, Andheri East, Mumbai 400093...",
143
+ "policy": "PRIVACY POLICY\n\n \n\nGeneral\n\nFynd is managed and operated by Shopsense Retail Technologies Limited(\"Fynd\", \"we\", \"us\" or \"our\"), a company incorporated under the Companies Act, 1956, having its registered office at 1st Floor, Wework Vijay Diamond, Opp. SBI Branch, Cross Road B, Ajit Nagar, Kondivita, Andheri East, Mumbai 400093 and is a subsidiary of Reliance Retail Ventures Limited....\n",
144
+ "shipping": "**DELIVERY AND SHIPPING POLICY**\n\n \n\nGENERAL\n\n \n\nFynd is managed and operated by Shopsense Retail Technologies Limited (\"Fynd\", \"we\", \"us\" or \"our\"), a company incorporated under the Companies Act, 1956, having its registered office at 1st Floor, Wework Vijay Diamond, Opp. SBI Branch, Cross Road B, Ajit Nagar, Kondivita, Andheri East, Mumbai 400093 and is a subsidiary of Reliance Retail Ventures Limited....",
145
+ "returns": "**CANCELLATION, RETURN AND REFUND POLICY**\n\n \n\n \n\nFynd is managed and operated by Shopsense Retail Technologies Limited (\"Fynd\", \"we\", \"us\" or \"our\"), a company incorporated under the Companies Act, 1956, having its registered office at 1st Floor, Wework Vijay Diamond, Opp. SBI Branch, Cross Road B, Ajit Nagar, Kondivita, Andheri East, Mumbai 400093 and is a subsidiary of Reliance Retail Ventures Limited....\n\n",
146
+ "faq": {"Do I get a gifting option while placing an order?": "Unfortunately, we don't have this option available on Fynd at the moment.",
147
+ "What are the shipping charges on Fynd?": "Fynd adheres to a Free Shipping policy on all orders. But, based on changing offers Shipping Charges are subject to change"}
148
+ }
149
+
150
+
151
  tab1, tab2 = st.tabs(["Product Discovery", "Question And Answering"])
152
  with tab1:
153
  st.header("Product Discovery")
 
165
  st.markdown("**Index Type:** FLAT_L2")
166
 
167
  st.subheader("Input Sample Data:")
168
+ # st.markdown("Sample data can be displayed here.")
169
+ st.json(data)
170
 
171
  st.subheader("Steps")
172
  st.markdown("**Training:**")
 
196
  st.markdown("**Support file type:** JSON")
197
  st.markdown("**Similarity Metric:** Inner Product")
198
  st.markdown("**Type of Index:** FLAT_L2")
199
+
200
+ st.subheader("Input Sample Data:")
201
+ # st.markdown("Sample data can be displayed here.")
202
+ st.json(qna_data)
203
+
204
  st.subheader("Steps")
205
  st.markdown("**Training:**")
206
  st.markdown("1. Pull Textual policy documents from FDK")