{"id":4089,"date":"2025-02-24T13:13:39","date_gmt":"2025-02-24T13:13:39","guid":{"rendered":"https:\/\/demo.awaikenthemes.com\/pixion\/?page_id=4089"},"modified":"2025-04-27T01:53:11","modified_gmt":"2025-04-27T01:53:11","slug":"ui-ux-design-system-creation","status":"publish","type":"page","link":"https:\/\/andrewpron.me\/?page_id=4089","title":{"rendered":"AI Chatbot"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"4089\" class=\"elementor elementor-4089\">\n\t\t\t\t<div class=\"elementor-element elementor-element-84f4186 e-flex e-con-boxed e-con e-parent\" data-id=\"84f4186\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-0307947 e-con-full e-flex e-con e-child\" data-id=\"0307947\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d20414a at-heading-animation at-animation-heading-none elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"d20414a\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">AI <span>chatbot <\/span><\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-606ef76 elementor-invisible elementor-widget elementor-widget-elementskit-breadcrumb\" data-id=\"606ef76\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;_animation_delay&quot;:100,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"elementskit-breadcrumb.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"ekit-wid-con\" ><ol class=\"ekit-breadcrumb\"><li class=\"ekit_breadcrumbs_start\"><a href=\"https:\/\/andrewpron.me\">Home<\/a><\/li><\/ol><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ac3b83f e-flex e-con-boxed e-con e-parent\" data-id=\"ac3b83f\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-f770acb e-con-full e-flex e-con e-child\" data-id=\"f770acb\" data-element_type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-e7fce70 e-con-full e-flex e-con e-child\" data-id=\"e7fce70\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2edbd30 at-shiny-glass-effect service-feature-image at-image-animation at-animation-image-style-1 elementor-widget elementor-widget-image\" data-id=\"2edbd30\" data-element_type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"800\" src=\"https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/1200x800-copy.jpg\" class=\"attachment-full size-full wp-image-10652\" alt=\"\" srcset=\"https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/1200x800-copy.jpg 1200w, https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/1200x800-copy-300x200.jpg 300w, https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/1200x800-copy-1024x683.jpg 1024w, https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/1200x800-copy-768x512.jpg 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9624c5e elementor-invisible elementor-widget elementor-widget-text-editor\" data-id=\"9624c5e\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>I developed a custom chatbot for Penn State by scraping the course companion site using Python and organizing the data into clean, structured files. To reduce costs, I designed the chatbot to search the local files for answers before calling the OpenAI API, minimizing unnecessary API usage. This approach combined technical expertise, cost optimization, and iterative refinement to create an efficient, scalable solution tailored to Penn State\u2019s needs.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-56bb852 e-con-full e-flex e-con e-child\" data-id=\"56bb852\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-270ab4b section-heading at-heading-animation at-animation-heading-none elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"270ab4b\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Chatbot Development <span>overview<\/span><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-41920a2 elementor-invisible elementor-widget elementor-widget-text-editor\" data-id=\"41920a2\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;_animation_delay&quot;:100,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>I successfully developed a custom chatbot for Penn State by leveraging a combination of web scraping, data optimization, and efficient API usage strategies. Key skills demonstrated during the project include:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cd3391c elementor-align-left service-icon-list elementor-icon-list--layout-traditional elementor-list-item-link-full_width elementor-invisible elementor-widget elementor-widget-icon-list\" data-id=\"cd3391c\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;_animation_delay&quot;:200,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"icon-list.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul class=\"elementor-icon-list-items\">\n\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Python Web Scraping: Used Python to scrape publicly available information from the course companion site, ensuring relevant and accurate data collection for the chatbot knowledge base.<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Data Preparation and Management: Organized and structured scraped content into clean, accessible files, optimizing them for chatbot ingestion and improving information retrieval performance.<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Cost Optimization Strategies: Reduced operational costs by implementing a two-stage query system: first, having the chatbot search the locally stored files for an answer before engaging the OpenAI API. This minimized unnecessary API calls and significantly lowered usage costs.<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">AI Integration: Integrated OpenAI\u2019s API with custom search logic, ensuring the chatbot could provide high-quality responses while maintaining budget-conscious operation.<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5498769 e-con-full e-flex e-con e-child\" data-id=\"5498769\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e985b9a section-heading at-heading-animation at-animation-heading-none elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"e985b9a\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Chatbot <span> in action <\/span><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c6e5094 elementor-invisible elementor-widget elementor-widget-text-editor\" data-id=\"c6e5094\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;_animation_delay&quot;:100,&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div style=\"width: 800px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4089-1\" width=\"800\" height=\"450\" loop autoplay preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/chatbot_sample.mp4?_=1\" \/><a href=\"https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/chatbot_sample.mp4\">https:\/\/andrewpron.me\/wp-content\/uploads\/2025\/04\/chatbot_sample.mp4<\/a><\/video><\/div><p>The chatbot was used by admissions staff, advisors, and division staff to support student inquiries and reduce the time needed to consult subject matter experts. As new information was added, we refined the chatbot\u2019s responses to align with desired answers and conducted regular testing. Once the chatbot consistently achieved a 99% success rate, we deployed it for full use across the organization.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>AI chatbot Home I developed a custom chatbot for Penn [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3776,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-4089","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/andrewpron.me\/index.php?rest_route=\/wp\/v2\/pages\/4089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andrewpron.me\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/andrewpron.me\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/andrewpron.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andrewpron.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4089"}],"version-history":[{"count":5,"href":"https:\/\/andrewpron.me\/index.php?rest_route=\/wp\/v2\/pages\/4089\/revisions"}],"predecessor-version":[{"id":10665,"href":"https:\/\/andrewpron.me\/index.php?rest_route=\/wp\/v2\/pages\/4089\/revisions\/10665"}],"up":[{"embeddable":true,"href":"https:\/\/andrewpron.me\/index.php?rest_route=\/wp\/v2\/pages\/3776"}],"wp:attachment":[{"href":"https:\/\/andrewpron.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}