Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 135 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
135
Dung lượng
17,9 MB
Nội dung
MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION GRADUATION THESIS INFORMATION TECHNOLOGY BUILDING A PLATFORM FOR DESIGNING THE AI VOICE BOTS LECTURER: NGUYEN DUC KHOAN, M.Sc STUDENTS: PHAM THANH LOI NGUYEN TRONG HUY SKL 010288 Ho Chi Minh City, June 2023 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING CAPSTONE PROJECT BUILDING A PLATFORM FOR DESIGNING THE AI VOICE BOTS PHAM THANH LOI Student ID: 19110239 NGUYEN TRONG HUY Student ID: 19110217 Course: 2019 Major: INFORMATION TECHNOLOGY Advisor: NGUYEN DUC KHOAN, M.Sc Ho Chi Minh City, June 2023 Graduate thesis THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness *** -Ho Chi Minh City, June 2023 PROJECT ASSIGNMENT Student name: PHAM THANH LOI Student ID: 19110239 Student name: NGUYEN TRONG HUY Student ID: 19110217 Major: INFORMATION TECHNOLOGY Project title: BUILDING A PLATFORM FOR DESIGNING THE AI VOICE BOTS Advisor: NGUYEN DUC KHOAN, M.Sc Date of assignment: 02-20-2023 Date of submission: 05-29-2023 Project name: BUILDING A PLATFORM FOR DESIGNING THE AI VOICE BOTS Content of the project: Allows users to design and create Bots that can communicate with users through calls This bot is applied in calls to solve some problems such as taking care of customers automatically through the call center Figures and original document: This project is built from scratch Final Product: An Application that combines "Dial" (calling) and "BotConnect" (bot connection), demonstrating the ability to connect and communicate with bots CHIEF OF DEPARTMENT ADVISOR (Sign with full name) (Sign with full name) i Graduate thesis THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness *** -Ho Chi Minh City, June 2023 ADVISOR’S EVALUATION SHEET Student name: PHAM THANH LOI Student ID: 19110239 Student name: NGUYEN TRONG HUY Student ID: 19110217 Major: INFORMATION TECHNOLOGY Project name: BUILDING A PLATFORM FOR DESIGNING THE AI VOICE BOTS Advisor: NGUYEN DUC KHOAN, M.Sc EVALUATION Content of the project: Strengths: Weaknesses: Approval for oral defense? Overall evaluation: Mark: (in words: ) Ho Chi Minh City, June …, 2023 ADVISOR (Sign with full name) ii Graduate thesis THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness *** -Ho Chi Minh City, June 2023 PRE-DEFENSE EVALUATION SHEET Student name: PHAM THANH LOI Student ID: 19110239 Student name: NGUYEN TRONG HUY Student ID: 19110217 Major: INFORMATION TECHNOLOGY Project name: BUILDING A PLATFORM FOR DESIGNING THE AI VOICE BOTS Name of Reviewer: EVALUATION Content of the project: Strengths: Weaknesses: Approval for oral defense? Overall evaluation: Mark: (in words: ) Ho Chi Minh City, June …, 2023 REVIEWER (Sign with full name) iii Graduate thesis THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness *** -Ho Chi Minh City, June 2023 EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER Student name: PHAM THANH LOI Student ID: 19110239 Student name: NGUYEN TRONG HUY Student ID: 19110217 Major: INFORMATION TECHNOLOGY Project name: BUILDING A PLATFORM FOR DESIGNING THE AI VOICE BOTS Name of Defense Committee Member: Content of the project: Strengths: Weaknesses: Overall evaluation: Mark: (in words: ) Ho Chi Minh City, June …, 2023 COMMITTEE MEMBER (Sign with full name) iv Graduate thesis ACKNOWLEDGEMENT We would like to express my deep gratitude to the Board of Directors of Ho Chi Minh City University of Technology and Education, especially the teachers of the Faculty of Information Technology, and at the same time, I would like to express my sincerest thanks to Mr Nguyen Duc Khoan, the teacher who directly helped and guided me to complete this thesis This is the team report, it's also our first time doing a thesis so there will be mistakes Please review and evaluate, so that we can improve ourselves and complete better in the next projects Finally, we would like to express our sincerest thanks to the teachers and especially Mr Nguyen Duc Khoan v Graduate thesis TABLE OF CONTENTS PROJECT ASSIGNMENT i ADVISOR’S EVALUATION SHEET ii PRE-DEFENSE EVALUATION SHEET iii EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER iv ACKNOWLEDGEMENT v TABLE OF CONTENTS vi LIST OF DEFINITIONS, ACRONYMS ix LIST OF FIGURES x LIST OF TABLES xiii CHAPTER 1: INTRODUCTION 1.1 Introduction 1.2 Current situation 1.3 Twilio console 1.3.1 Introduction 1.3.2 Review 1.4 EM&AI 1.4.1 Introduction 1.4.2 Review 1.5 Problem definition 1.6 Proposed solution CHAPTER 2: SYSTEM SPECIFICATION 2.1 Functional requirement 2.1.1 User requirement 2.1.2 System requirement 12 2.2 Non-functional requirement 47 vi Graduate thesis CHAPTER 3: SYSTEM DESIGN 48 3.1 System Architecture 48 3.2 Entity Relationship Diagram 52 3.3 Database Diagram 53 3.4 Sequence Diagram 55 3.4.1 Create Trunk Sequence Diagram 55 3.4.2 Assign Trunk to Customer Sequence Diagram 56 3.4.3 Create Bot Flow Sequence Diagram 56 3.4.4 Train GPT Bot Sequence Diagram 57 3.4.5 Create Phone Number Sequence Diagram 57 3.5 Activity Diagram 58 3.5.1 View Assigned Trunk Activity Diagram 58 3.5.2 View Call History Activity Diagram 58 3.5.3 View Designed Bot Flow Activity Diagram 59 3.5.4 Create new Contact Group Activity Diagram 59 3.6 User Interfaces Design 60 3.6.1 Screens Description 60 3.6.2 Screens Design 62 CHAPTER 4: SYSTEM IMPLEMENTATION 100 4.1 Environment 100 4.2 Technology 100 4.2.1 Asterisk 100 4.2.2 NET core 105 4.2.3 ExpressJS 106 4.2.4 Angular 106 4.2.5 Python Flask 107 vii Graduate thesis 4.2.6 MySQL 108 CHAPTER 5: VALIDATION AND DEPLOYMENT 109 5.1 Test case Design 109 5.1.1 Super Admin 109 5.1.2 Company Admin 110 5.2 Deployment 113 5.2.1 Hardware requirements 113 5.2.2 Software requirements 113 5.2.3 Deployment process 114 CHAPTER 6: CONCLUSION 116 6.1 Evaluation 116 6.2 Difficulties 116 REFERENCES 117 viii