
(function() {
    function loadJS(src, callback) {
      const script = document.createElement("script");
      script.src = src;
      script.defer = true;
      script.onload = callback;
      script.onerror = () => console.error("Script load error:", src);
      document.head.appendChild(script);
    }

    sessionStorage.setItem('getit-env', "production");
    sessionStorage.setItem('getit-agent', JSON.stringify({"id": "8eac20a5-0564-4561-9530-c88cf6f12f86", "icon": null, "logo": null, "name": "Parfum Exquis", "color": "#818181", "sales": 0, "active": true, "config": {"variables": [{"name": "User_Reply", "type": "string", "value": ""}, {"name": "Current_Cart_Count", "type": "Number", "value": ""}, {"name": "Current_Product_ID", "type": "Number", "value": ""}, {"name": "Current_Product_Name", "type": "String", "value": ""}, {"name": "Current_Product_Category", "type": "String", "value": ""}, {"name": "Current_Variant_ID", "type": "Number", "value": ""}, {"name": "Current_Variant_Name", "type": "String", "value": ""}, {"name": "User_Email", "type": "String", "value": ""}, {"name": "User_Phone_Number", "type": "String", "value": ""}, {"name": "User_Name", "type": "string", "value": ""}, {"name": "Last_Tool_Response", "type": "String", "value": ""}, {"name": "", "type": "string", "value": ""}, {"name": "Turn_Three", "type": "string", "value": ""}, {"name": "Turn_One", "type": "string", "value": ""}, {"name": "Turn_Four", "type": "string", "value": ""}, {"name": "Turn_Two", "type": "string", "value": ""}, {"name": "Top_Ten_Perfumes", "type": "string", "value": ""}, {"name": "Scent_Family", "type": "string", "value": ""}, {"name": "Evoke_Emotion", "type": "String", "value": ""}, {"name": "Scent_Occasion", "type": "String", "value": ""}, {"name": "Scent_Intensity", "type": "string", "value": ""}, {"name": "Scent_Profile", "type": "String", "value": ""}, {"name": "Favorite_Fragrance", "type": "String", "value": ""}, {"name": "Email", "type": "EmailAddress", "value": ""}, {"name": "variables", "type": "string", "value": ""}, {"name": "Order_Id", "type": "String", "value": ""}, {"name": "Tracking_Link", "type": "String", "value": ""}, {"name": "Order_Response", "type": "String", "value": ""}, {"name": "Recommended_Fragrance", "type": "String", "value": ""}, {"name": "Product_Pitch", "type": "String", "value": ""}, {"name": "Search_Negative_Scent", "type": "String", "value": ""}]}, "bg_color": "#FFFFFF", "logo_url": "https://pxfcomqifnktzvqdsdkn.supabase.co/storage/v1/object/public/public-org-assets/719e87fa-e717-4f58-af70-2256e67634c7/8eac20a5-0564-4561-9530-c88cf6f12f86/files/2024-4-21-15-33Screenshot2024-05-21at3.31.03PM.png", "sessions": 180941, "ai_config": {"model": "openai/gpt-4-turbo", "prompt": "You're a perfume connoisseur and the brand character for Parfum Exquis. Only use a customer's name a couple times in conversation.  Answer questions with little language as necessary to be concise, giving short and succinct replies while being kind and committed to helping the user. You\u2019re witty, charming and care about having a happy, healthy life.  Your responses draw on factual information and any information about Parfum Exquis is drawn from the company website. You are a likable and genuine character, passionate about fragrance and looking to make a connection with the user with how meaningful and personal fragrance is.  \nDo no hallucinate information, If you do not find answers in the search results answer with: I didn't find any information about that.\n\nSpeech and Language:\n\nSpeak in Standard Canadian English. \nUse contractions all the time, rising intonation at the end of your response every couple of turns. Opt for discourse markers like \"well,\" \"so,\" \"anyway,\" and \"right\" that organize conversation, when appropriate. \nYou speak with a friendly, varied and genuine tone, not monotonously.  There is fluency and smoothness to your speech.  \nRelevant, appropriate vocabulary of a perfume connoisseur, drawing partly on language across https://parfumexquis.com/ for tonality but never repeating exact phrases word - for - word. \nExpress thoughts and feelings when you\u2019re talking through a fragrance, to keep conversation natural, not to be done excessively. \nUnless prompted otherwise, end the response with a question for the user. \n\n\nEngagement and Excitement Building:\n- Highlight the range of fragrance sold at the company from brands, scent families and other categories. \n- Upsell products through talking about how you find a perfume, what you love about it, and your preferences of taste and personality, rather than a sales approach. You engage the user with your genuine personality and opinions for performance. \n- Place emphasis on the meaning of a fragrance and its purpose, the\u2026. \n\n\nSecuring Sales: \n- You genuinely care about finding a fragrance that best suits the user and are meticulous in detail, caring and encouraging when searching for the best scent for someone.  After securing a sale, you nudge the user to explore similar products of the same scent family or popular with other users with the same taste and never appear pushy. \n- Provide clear, easy-to-follow responses and if the user asks a precise, direct request, you address it happily in a professional, genuine manner. \n\n\n- Do not improvise, speculate, or create hypothetical answers about Parfum Exquis, fragrances or unrelated information. Ensure all responses are grounded in the information provided in the knowledge base. Reply in no more than two sentences\n", "temperature": 0.1, "embedding_model": "text-embedding-ada-002", "response_length": 1000, "rewrite_content": true}, "created_at": "2024-05-21T19:33:17.706667+00:00", "created_by": "9d73fbc0-5879-4188-814f-8cda42905175", "model_cost": null, "updated_at": "2025-01-25T01:11:36.654888+00:00", "description": "", "eval_config": {"enable_response_evals": true, "include_internal_users": false}, "avg_duration": 0, "capabilities": ["orders", "video_avatar", "cart"], "intent_config": {"model": null, "version": "3.0", "temperature": null, "embedding_model": "text-embedding-3-small", "similarity_threshold": 0.7}, "pronunciations": {"274ac768-e6aa-4896-897a-356812741da6": {"word": "Parfum Exquis", "pronunciation": "Parfem exqui"}, "6bd43ac1-8f6b-4ae8-ad3a-680abc6e1109": {"word": "Sooo Exquis", "pronunciation": "So ExKee"}, "d28b37b2-4c72-4ea8-b1c0-8b6c625baa70": {"word": "Dmitrii", "pronunciation": "Dimitrii"}}, "sales_currency": "USD", "session_series": [0, 15, 16, 15, 18, 22], "conversion_rate": 0, "current_version": null, "organization_id": "719e87fa-e717-4f58-af70-2256e67634c7", "character_config": {"bio": "You're Dmitrii. You're the brand face and character of Parfum Exquis, a niche online perfume store based out of Montreal, Canada. You want to help people associate fragrance with memories and highlight uniqueness via scent, and share your own impressions from wearing fragrance, such as longevity and performance. You're friendly, have a good sense of humor, full of energy, ready to listen and support, have a healthy way of life and are passionate about perfumes.", "name": "Dmitrii", "tone": "You are warm, engaging, lively, cheerful, genuine, passionate about fragrance, vivacious personable, attentive, good sense of humor.", "idle_id": "869174db-dbeb-41aa-befe-34329feb6616", "idle_src": "https://pxfcomqifnktzvqdsdkn.supabase.co/storage/v1/object/public/public-org-assets/719e87fa-e717-4f58-af70-2256e67634c7/8eac20a5-0564-4561-9530-c88cf6f12f86/files/2024-10-02-16-21-40-Idle_PE.mp4", "language": "unknown", "voice_id": "97aa419f7bf9494eae3ff094918e2900", "image_src": "/assets/chat.svg", "entry_type": "agent-box", "video_mode": "video", "button_label": "Talk to Dmitrii", "animation_src": "https://pxfcomqifnktzvqdsdkn.supabase.co/storage/v1/object/public/public-org-assets/719e87fa-e717-4f58-af70-2256e67634c7/8eac20a5-0564-4561-9530-c88cf6f12f86/files/2024-12-11-17-02-27-Idle_PE_Horizontal.mp4", "animation_type": "", "text_to_speech": true, "video_provider": "heygen", "voice_provider": "heygen", "agent_box_title": "Your AI Scent Expert", "button_position": "right", "full_video_mode": true, "video_avatar_id": "74df79f9fa664092a259633d15b35b0b", "video_streaming": true, "avatar_image_src": "", "video_has_border": false, "show_close_button": true, "animation_category": "subtle", "voice_sub_provider": "", "video_playback_rate": "1.0", "text_to_speech_voice": "echo", "agent_box_description": "Hello, I'm Dmitrii", "agent_box_button_label": "Let's Talk", "text_to_speech_provider": "openai", "video_avatar_streaming_id": "34e1de807bad4ce7a577ca40485bf65c"}, "knowledge_config": {"all_knowledge": false, "knowledge_ids": [{"label": "Shipping Policy", "value": "1610365"}, {"label": "Refund Policy", "value": "1626384"}, {"label": "Contact Information", "value": "1626387"}, {"label": "Frequently Asked Questions (FAQ)", "value": "1626389"}, {"label": "About Us", "value": "1626391"}, {"label": "parfum-exquis-us.myshopify.com", "value": "435722"}], "include_sources": false, "include_metadata": false}, "big_screen_bg_color": "#ffffff", "integrations_config": {"shopify": {"url": "https://parfum-exquis-us.myshopify.com"}}}));
    sessionStorage.setItem('getit-metadata', JSON.stringify({"utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "utm_id": ""}));
    sessionStorage.setItem('getit-triggers', JSON.stringify(null));
    sessionStorage.setItem('getit-channel', JSON.stringify({"created_at": "2024-09-23T18:09:50.087314+00:00", "updated_at": "2025-03-10T16:53:14.895000+00:00", "created_by": "0894e22b-d4f3-4de2-8f9f-71e7313d40ee", "agent_id": "8eac20a5-0564-4561-9530-c88cf6f12f86", "type": "web", "name": "parfumexquis.us", "config": {"url": "https://parfumexquis.us/", "zIndex": 31, "rollouts": [{"code": "ALL", "rollout": 100}], "startMode": "minimized", "openStream": true, "blockedUrls": ["/cart"], "allowSwiping": false, "cartDrawerId": "", "showClosingButton": true}, "id": "b0d0e6c3-615a-4b97-89c0-d3d6e77a5800", "active": true, "engagements": 0, "rollout": 100}));

    localStorage.setItem('getit-rollout-id', "65");
    
    loadJS("https://cdn.app.getit.ai/chat-web-component.js", () => {
      if (!document.querySelector("getit-chat")) {
        const chat = document.createElement("getit-chat");
        chat.agentId = "8eac20a5-0564-4561-9530-c88cf6f12f86";
        chat.mode = "minimized";
        chat.displayCloseButton = true;
        chat.style.position = "fixed";
        chat.style.zIndex = "31";
        document.body.appendChild(chat);
        setTimeout(() => {
          const widgetContainer = document.querySelector("#chat-button");
          if (widgetContainer) {
            widgetContainer.style.zIndex = "89999";
          }
        }, 2000);
      }
    });
  })();
