VolodymyrHula commited on
Commit
ad02e51
·
1 Parent(s): 642ca5c

Fixed get customer tool call. Added rest of ther files

Browse files
data/Most Common Customer Support Questions.docx ADDED
Binary file (35.1 kB). View file
 
data/RanksKeys.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "RankID": 1,
4
+ "RankDescription": "Active Distributor"
5
+ },
6
+ {
7
+ "RankID": 10,
8
+ "RankDescription": "Brand Ambassador"
9
+ },
10
+ {
11
+ "RankID": 20,
12
+ "RankDescription": "Qualified Brand Ambassador"
13
+ },
14
+ {
15
+ "RankID": 30,
16
+ "RankDescription": "1 Star"
17
+ },
18
+ {
19
+ "RankID": 40,
20
+ "RankDescription": "2 Star"
21
+ },
22
+ {
23
+ "RankID": 50,
24
+ "RankDescription": "3 Star"
25
+ },
26
+ {
27
+ "RankID": 55,
28
+ "RankDescription": "3 Star Pro"
29
+ },
30
+ {
31
+ "RankID": 60,
32
+ "RankDescription": "3 Star Elite"
33
+ },
34
+ {
35
+ "RankID": 70,
36
+ "RankDescription": "4 Star Director"
37
+ },
38
+ {
39
+ "RankID": 80,
40
+ "RankDescription": "5 Star Director"
41
+ },
42
+ {
43
+ "RankID": 90,
44
+ "RankDescription": "6 Star Director"
45
+ },
46
+ {
47
+ "RankID": 100,
48
+ "RankDescription": "7 Star Director"
49
+ },
50
+ {
51
+ "RankID": 110,
52
+ "RankDescription": "Gold Diamond"
53
+ },
54
+ {
55
+ "RankID": 120,
56
+ "RankDescription": "Crown Diamond"
57
+ },
58
+ {
59
+ "RankID": 130,
60
+ "RankDescription": "Royal Crown Diamond"
61
+ },
62
+ {
63
+ "RankID": 140,
64
+ "RankDescription": "RoyalBlackDiamond"
65
+ },
66
+ {
67
+ "RankID": 150,
68
+ "RankDescription": "ImperialBlackDiamond"
69
+ },
70
+ {
71
+ "RankID": 160,
72
+ "RankDescription": "CrownBlueDiamond"
73
+ },
74
+ {
75
+ "RankID": 170,
76
+ "RankDescription": "DoubleCrownBlueDiamond"
77
+ },
78
+ {
79
+ "RankID": 180,
80
+ "RankDescription": "TripleCrownBlueDiamond"
81
+ }
82
+ ]
data/Science questions Basic.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "Question:": "Can THREE products cause side effects or interact with medications, allergies, or existing health conditions?",
4
+ "Answer": "Starting a new product routine can take some time to adapt to. Consulting with your personal doctor or dermatologist is the best questions to ask this to as they can help determine which products to introduce (or re-introduce) or omit from your routine. THREE’s products are not intended to diagnose, treat, or cure any disease. Anyone with a pre-existing medical condition should consult with their healthcare provider before taking any nutritional supplement."
5
+ },
6
+ {
7
+ "Question:": "Can children take THREE products?",
8
+ "Answer": "THREE's products were formulated with the needs of individuals ages 12 and up in mind. Individuals intending to give these products to persons younger than 12 should first consult with their pediatrician."
9
+ },
10
+ {
11
+ "Question:": "What are the major allergens in your products?",
12
+ "Answer": "Our products are free from the eight major food allergens (milk, eggs, fish, Crustacean shellfish, tree nuts, peanuts, wheat, and soybeans) except for Vitalité, Éternel, and Collagène—which contain fish."
13
+ },
14
+ {
15
+ "Question:": "Are THREE products tested on animals?",
16
+ "Answer": "THREE products are cruelty-free and not tested on animals."
17
+ },
18
+ {
19
+ "Question:": "Are the Éternel and Collagène pouches recyclable and biodegradable?",
20
+ "Answer": "The pouches containing Éternel and Collagène are not recyclable or biodegradable because the powerful curated phytonutrient blends and Cellular Absorption Technologies contained therein need to be protected from air and the environment."
21
+ },
22
+ {
23
+ "Question:": "Can I break open capsules or the liquid pouches and add to food?",
24
+ "Answer": "Yes. Opening the capsules/softgels and adding them to water or food is just fine and does not diminish effectiveness."
25
+ },
26
+ {
27
+ "Question:": "What is the specifica amount of ingredients within the product?",
28
+ "Answer": "Specific amounts of some of the individual ingredients in THREE's products is part of our proprietary curation technology and is not disclosed so as to protect our intellectual property and to dissuade copy-caters. What we can say is that every ingredient in our products is included at an amount known in the scientific literature to have powerful health benefits—which is further enhanced by the Cellular Absorption Technologies. Our labels are complete and accurate containing each ingredient."
29
+ },
30
+ {
31
+ "Question:": "Is Éternel OK for diabetics to take given the added sugar?",
32
+ "Answer": "The sugar in Éternel is from the natural fruit juices. The FDA requires that natural sugar from fruit juices be listed as added sugar in the product. Éternel should be OK for those with diabetes to take due to the small amount of sugar. However, as every body and their specific conditions are different, those with any medical condition should consult closely with their doctor before taking nutritional supplements."
33
+ },
34
+ {
35
+ "Question:": "Are our products FDA approved?",
36
+ "Answer": "The FDA does not “approve” any dietary supplements—but they do “regulate” the supplement industry. Here at THREE every product is manufactured in FDA-approved facilities using current Good Manufacturing Practices (cGMP) and third-party tested in laboratories that go above and beyond what is required by the FDA to ensure they are first-in-class in the industry."
37
+ },
38
+ {
39
+ "Question:": "What is the gelatin source in our products?",
40
+ "Answer": "The gelatin in Revíve and the Vitalité softgel is of bovine (beef) origin. Gelatin from beef is used to ensure the soft gel material and seam is robust and doesn’t leak. Our beef gelatin is Halal friendly but our finished products are not currently Halal certified."
41
+ },
42
+ {
43
+ "Question:": "Are products Halal?",
44
+ "Answer": "Eternel are certified Halal. The other products are are Halal friednly, but the entire formula has not yet been certified by the Halal governing body."
45
+ },
46
+ {
47
+ "Question:": "Are our products Kosher?",
48
+ "Answer": "No."
49
+ },
50
+ {
51
+ "Question:": "MTHFR mutation. Is Vitalite methylated?",
52
+ "Answer": "The B vitamins in Vitalité are methylated, which is the preferred form for people with the MTHFR mutation. Additionally, our Cellular Absorption Technology ensures the maximum amounts of vitamins get into the cell so they can be metabolized."
53
+ },
54
+ {
55
+ "Question:": "Where does THREE derive the “natural flavors” from?",
56
+ "Answer": "When we say natural flavors, what we mean is we use the natural molecules from the food source to make the flavor. For example, we use natural molecules from strawberries to create our strawberry flavor in Collagène. Nothing could be more natural than that. We never use “Natural Flavors” as an umbrella term to slide other ingredients into product. The exact natural molecules we include is proprietary and not disclosed because that is part of the secret sauce that makes the product so unique."
57
+ },
58
+ {
59
+ "Question:": "Are THREE products organic?",
60
+ "Answer": "We use organic ingredients where it makes sense. because of the unique ingredients we use, it is not possible to get every single material in organic form. When something is organic it doesn’t mean pesticide free, it means different pesticides are employed in protecting the plant. It is important to remember that organic does not always mean better. Often times, non-organic plant materials have much higher phytonutrient content than their organic counterparts, and are also pesticide free.We make sure that every raw material in our THREE products, whether organic or not, is devoid of pesticide residues—so they are clean and safe to the end user."
61
+ },
62
+ {
63
+ "Question:": "Can Pets consume THREE's products",
64
+ "Answer": "All THREE products have been designed and developed for humans ages 12 and up. Please consult with your veterinarian."
65
+ },
66
+ {
67
+ "Question:": "Safe for pregnant or nursing?",
68
+ "Answer": "All THREE products should be OK, in principle, but pregnant or breastfeeding women should consult with their OB/GYN before taking any nutritional supplement. This is because the physiology and chemical reactions of these wonderful mothers change so drastically—and can vary significantly from mother to mother—that it is impossible to give blanket advice."
69
+ },
70
+ {
71
+ "Question:": "Is it OK to take all THREE products together?",
72
+ "Answer": "All THREE products were formulated to work holistically and taken together as a system. There are no contraindications between the products, and you won’t get too much of a nutrient when all products are taken together."
73
+ },
74
+ {
75
+ "Question:": "Vegan friendly?",
76
+ "Answer": "Purifí and Imúne are vegan friendly. Vitalité, Éternel, and Collagène are not vegan due to the fish sourced omega-3 and collagen. Revíve is not vegan due to the bovine-based gelatin in the softgel."
77
+ },
78
+ {
79
+ "Question:": "Trace Minerals",
80
+ "Answer": "Aluminum, antimony, barium, beryllium, bismuth, boron, bromide, cadmium, calcium, carbon, cerium, cesium, chloride, chromium, cobalt, copper, dysprosium, erbium, europium, fluoride, francium, gadolinium, gallium, germanium, gold, hafnium, holmium, indium, iridium, iron, lanthanum, lithium, lutetium, magnesium, manganese, molybdenum, neodymium, nickel, niobium, osmium, palladium, phosphorus, platinum, potassium, praseodymium, rhenium, rhodium, rubidium, ruthenium, samarium, scandium, selenium, silicon, silver, sodium, strontium, sulfate, sulfur, tantalum, tellurium, terbium, thallium, thorium, thulium, tin, titanium, tungsten, vanadium, ytterbium, yttrium, zinc, zirconium."
81
+ },
82
+ {
83
+ "Question:": "Is there a recommended time of day to take the products?",
84
+ "Answer": "Due to the proprietary Cellular Absorption Technologies used in each THREE product, they are going to be effective whatever time of day you take them, with or without food. The best time to take a THREE product is when you remember to take it"
85
+ },
86
+ {
87
+ "Question:": "Collagene: why take 10 days on and 20 days off?",
88
+ "Answer": "The consumption of collagen causes the body to produce more collagen. Our system allows a boost of collagen to your body for instant visual benefits and then allows your body to use its own collagen for the remainder of the month. Collagène also re-trains the body to start making collagen again on its own."
89
+ },
90
+ {
91
+ "Question:": "Absorbtion Technology",
92
+ "Answer": "The Cellular Absorption Technologies used in THREE products have been carefully designed to increase absorption and bioavailability to improve health. THREE Cellular Absorption Technologies:\n1. Yeast Glycoprotein Matrix (GPM) Natural Vitamins and Minerals – Vitalité \n2. Liposomes – Purifí, Revíve, Imúne, Éternel\n3. Micelle – Revíve\n4. Adjuvants – Revíve\n5. Chlorophyllin – Purifí\n6. Fulvic Acid – Purifí\n7. Polyphenol Complexation – Vitalité, Collagène, and Éternel\n8. Hydrolysis – Collagène and Éternel\n9. Micronization – Collagène and Éternel\n10. Enzyme Delivery Technology – Vitalité and Purifí\n11. Chelated Amino Acids – Imúne\n12. Molecular Shuttles – Visage Super Serum"
93
+ },
94
+ {
95
+ "Question:": "Can Visage be used on sensitive skin?",
96
+ "Answer": "Yes. Our Visage series was designed to work on all skin types."
97
+ },
98
+ {
99
+ "Question:": "Plastic Containers free from BPA?",
100
+ "Answer": "The plastic containers are BPA free and pose no threat to human health. There is no leaching of materials in the plastic containers to our products, as found through extensive analysis."
101
+ },
102
+ {
103
+ "Question:": "Gluten Free?",
104
+ "Answer": "All THREE products are gluten free. Our manufacturing facilities are also gluten free."
105
+ },
106
+ {
107
+ "Question:": "Where are the ingredients sourced?",
108
+ "Answer": "Our phytonutrient-rich natural ingredients are sourced from all around the world depending on where the plant naturally grows"
109
+ },
110
+ {
111
+ "Question:": "Does the moisturizer have SPF?",
112
+ "Answer": "No. Because THREE is Global, to ensure regulatory compliance across the 14 countries where we operate, we are limited in the ingredients we can include. Some countries have a different definition of SPF and what it means when it comes to broad spectrum, so to remain compliant with all markets, it was not included in our Crème Caviar."
113
+ },
114
+ {
115
+ "Question:": "What is neurocosmetic?",
116
+ "Answer": "Visage Super Serum is the first neurocosmetic that supports health of the Skin-Brain connection. Other neurocosmetic products talk about nerve health on the surface of the skin and the sensory properties of the dermis."
117
+ }
118
+ ]
generate_service.py CHANGED
@@ -89,7 +89,7 @@ class OpenAIService:
89
  return json.dumps({"success": False, "error": f"Failed to load data from GetVolumes.json"})
90
 
91
  return json.dumps({"success": True, "result": result})
92
- elif tool_name == "get_customers":
93
  result = self.data_service.get_data("GetCustomers.json")
94
  if result is None:
95
  return json.dumps({"success": False, "error": f"Failed to load data from GetCustomers.json"})
 
89
  return json.dumps({"success": False, "error": f"Failed to load data from GetVolumes.json"})
90
 
91
  return json.dumps({"success": True, "result": result})
92
+ elif tool_name == "get_customer":
93
  result = self.data_service.get_data("GetCustomers.json")
94
  if result is None:
95
  return json.dumps({"success": False, "error": f"Failed to load data from GetCustomers.json"})