Week 3 (August 15 - August 21):

Janet-0717 - Sep 2 - - Dev Community

This week, the focus shifted to enhancing the website's interactive features, particularly the AI-powered customer service system. I started by designing the AI interface, which allows customers to ask questions and receive relevant responses, such as product recommendations and recipe suggestions. This feature is intended to enrich the user experience by providing instant, personalized assistance.

To enable this functionality, I deployed the website on a PHP (Apache) server and set up a Python Flask server to handle the ChatGPT API. The primary challenge this week was establishing smooth communication between these servers. Initially, I encountered issues with cross-origin resource sharing (CORS), which prevented the PHP site from sending requests to the Flask server. This issue disrupted session continuity, making it difficult to maintain a coherent conversation with the AI.

The bulk of the week was spent troubleshooting these issues. After experimenting with various CORS policies and configurations, I sought help from my mentor, who provided valuable insights and assistance. Together, we implemented a solution that allowed cross-domain requests and maintained session integrity, ensuring that the AI customer service could function as intended.

With the technical issues resolved, I conducted extensive tests on the AI system, simulating various customer inquiries to assess the accuracy and relevance of the responses. I also worked on optimizing the AI's response time, ensuring that it could handle queries quickly and efficiently. Additionally, I refined the user interface, adding preset responses for frequently asked questions to improve the system's efficiency.

By the end of the week, the AI customer service system was fully operational, providing a reliable and interactive experience for users. This week was crucial in overcoming technical challenges and laying the foundation for a sophisticated, AI-driven customer support feature.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player