PROJECT REPORT_INF 346
CREATION OF A CHAT-BOT
Project carried out by:
KENMEUGNE Modjo Anthelme – 18S10642
NJIBATCHIE De Wandji Yannick Cloée – 21S57104
NZOYEM Silatchom Gilleaux Hanns – New
YOUBISSIE Siewe Achille Ronic – 19S35899
Project supervised by:
Dr. MOSKOLAI Justin
TABLE OF CONTENTS
1. INTRODUCTION
2. MAIN PROJECT STAGES
o Analysis and Design
o Study of Functional Requirements
o Technical Requirements
o Module Design
o Development and Integration
o Testing and Validation
Unit Tests
Integration Tests
User Tests
o Deliverables
3. PLANNING AND DEADLINES
4. CONCLUSION
INTRODUCTION
The project "Implementation of an AI Voice Assistant" was designed to address challenges
related to managing digital and physical tasks faced by users. The main goal was to create an
intelligent tool capable of interacting with users through voice commands by leveraging
advanced artificial intelligence and natural language processing techniques.
This solution aimed to simplify daily tasks such as managing connected devices, scheduling,
and accessing real-time information while providing an intuitive interface and self-learning
capabilities to adapt to new needs.
MAIN PROJECT STAGES
Analysis and Design
Study of Functional Requirements
Ensure voice control of connected devices.
Manage tasks (lists, reminders, schedules).
Provide real-time information services (weather, news).
Offer educational features (answering questions, learning).
Music and entertainment: Play music, podcasts, and entertainment content.
Technical Requirements
Use of dedicated Python modules (Pttsx3, PyAudio, etc.).
Machine learning to handle unknown queries.
Speech synthesis and recognition systems (SpeechRecognition...).
Module Design
The voice assistant was built using various Python modules, each contributing to specific
features:
SpeechRecognition
Features: Captures voice commands via a microphone and converts speech into text.
Use: Enables the assistant to understand users' voice commands.
Pyttsx3
Features: Generates voice responses by converting text to speech and modifies voice
characteristics (gender, speed, tone).
Use: Provides clear and customizable voice responses.
Pywhatkit
Features: Searches and plays videos on YouTube, sends WhatsApp messages, and includes
additional functions like text-to-handwriting conversion.
Use: Expands the assistant’s capabilities in entertainment and communication.
Webbrowser
Features: Opens URLs in the default browser.
Use: Allows the assistant to perform web searches or access specific sites on request.
Wikipedia
Features: Searches for information on Wikipedia and extracts relevant article summaries.
Use: Answers educational or informational questions based on a reliable source.
Pandas
Features: Manipulates and analyzes structured data sets.
Use: Manages and analyzes data necessary for certain assistant functionalities, such as task
lists or knowledge bases.
Psutil
Features: Monitors system resources (CPU, memory, disk usage).
Use: Provides system status information, such as processor temperature or memory usage.
Pyautogui
Features: Automates keyboard and mouse actions.
Use: Executes commands related to computer navigation, such as opening applications or
moving the mouse.
OpenAI
Features: Integrates advanced AI models to answer complex questions or generate text.
Use: Extends conversational capabilities and provides accurate responses using GPT models.
Smtplib and SSL
Features: Sends emails via secure protocols (SMTP).
Use: Enables the assistant to send messages or notifications securely via email.
Development and Integration
The modules were integrated into a modular architecture where:
SpeechRecognition handled voice input.
Pywhatkit, Webbrowser, and Wikipedia executed web-related and informational commands.
Psutil and Pyautogui managed system-related actions.
Pyttsx3 provided voice responses.
Smtplib and SSL ensured email communication.
Testing and Validation
Unit Tests
Verification of each module (speech-to-text, learning).
Validation of text and voice responses.
Integration Tests
Evaluation of consistency between different modules.
Measurement of system responsiveness and efficiency.
User Tests
Feedback from users on interaction fluidity and response accuracy.
Deliverables
Specification document: A detailed guide on system functionality.
Complete software: Fully functional application with all planned features.
Dataset: Database for common commands and new queries.
Explanatory video: Practical presentation of features.
PLANNING AND DEADLINES
The project was completed in one month following this structured schedule:
Week 1: Needs analysis and module design.
Week 2: Development of core functionalities.
Week 3: Module integration and UI creation.
Week 4: Testing, validation, and finalization of deliverables.
CONCLUSION
The "Creation of a Voice Assistant using AI" project resulted in the development of an
intelligent, efficient, and versatile tool capable of effectively meeting users' needs for
managing digital and physical tasks. By integrating specialized modules such as
SpeechRecognition, Pyttsx3, Pywhatkit, Wikipedia, Pandas, and others, the system
demonstrated great flexibility, combining voice interaction, automation, and connectivity with
online services.
The assistant provides a smooth, intuitive, and scalable experience, enabling automation of
daily tasks while adapting to users' specific needs. This project illustrates the possibilities
offered by artificial intelligence technologies to simplify users' lives and lay the foundation
for future developments.
Let me know if you need any modifications or formatting adjustments!