Building Your Personalized Ai Assistant Phase2

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

BUILDING YOUR PERSONALIZED AI ASSISTANT

Abstract

Early As we all know, how life is interlinked with the technology and the use of AI. AI-
powered voice assistants have become an integral part of our lives, intertwining technology
and daily tasks. A Personal Virtual Assistant allows a user to command or ask questions in the
same manner that they would do with another human and are even capable of doing some
basic tasks like opening apps, doing Wikipedia searches without opening a browser, playing
music ,etc., with just a voice command. This project presents the development of a personal
desktop assistant using Python, aiming to provide convenience, automation, and assistance to
users in their computer-related activities. The assistant incorporates features such as voice
recognition, natural language processing, and integration with external APIs to enhance its
functionality and user experience. The assistant differentiates itself from existing solutions by
offering a highly customizable and extensible platform. Users can tailor the assistant’s
behavior and functionality to their specific needs, while also benefiting from integration with
popular tools and services. The user interface is designed to be intuitive and user-friendly,
providing a seamless experience for both novice and experienced users. By creating a
personal desktop assistant that combines convenience, automation, and personalized features,
this project aims to enhance users’ productivity and efficiency in their day-to-day computer
tasks.

Introduction

As personalized AI assistant is a type of software program designed to understand and


execute voice commands given by users in natural language. This technology has become
increasingly popular as it can perform a wide range of tasks on your computer, such as
checking the date and time, searching the web, opening specific applications, and greeting
you. These days, virtual assistant is being very useful to human beings as it helps us to work
on or operate a laptop or a PC on voice commands only and we can do a lot of other
computer-based things by the use of assistant. Virtual assistant helps us save our time. Virtual
assistant provides us the flexibility for a user to modify us functionalities. For creating virtual
assistant for your computer has to go from basics python to complex programming,
accordingly. Virtual assistant has an ability to understand and perform requests. Overall,
virtual assistants offer a useful tool to streamline and enhance computer-based activities,
making it easier for individuals to interact with technology and achieve their daily goals in a
more efficient and natural way.

Tools and Versions

In order to create a simple personal AI assistant, some programming abilities are


required. In particular, such languages as Lisp,java and Python.Well Python is one of the
most widely used and best supported language in field of Artificial Intelligence because of its
flexibility, simplicity.

 ChatGPT is a chatbot developed by OpenAI and launched on November 30, 2022.


Based on large language models (LLMs), it enables users to refine and steer a
conversation towards a desired length, format, style, level of detail, and language.
Successive user prompts and replies are considered at each conversation stage as
context.
 GitHub Copilot is an AI coding assistant that helps you write code faster and with less
effort, allowing you to focus more energy on problem solving and collaboration.
Copilot offers coding suggestions as you type: sometimes the completion of the
current line, sometimes a whole new block of code. You can accept all, or part, of a
suggestion, or you can ignore the suggestion and keep typing.
 Amazon Q is an interactive, generative AI–powered assistant available in the IDE
with CodeWhisperer that gives you expert guidance through a simple conversational
interface.
 Replit is an AI-driven software creation platform where everyone can build, share,
and ship software fast

AI coding tools are predominantly software applications or services powered by AI,


machine learning (ML), and natural language processing (NLP). Algorithms called large
language models (LLMs) are trained on vast amounts of publicly available coding data,
which gives the tool the knowledge and context it needs to offer coding suggestions to
developers.

But for making a smart personal AI assistant by your own that is using deep learning as
well as a good level of Natural Language Processing you need to use an API.There are a
number of APIs on the market, most popular of which are api.ai, Wit.ai, Melissa, Tensorflow,
Clarifai, IBM Watson etc.

Tensorflow is one of the best API for AI assistance. It automatically builds artificial
neural network graphs and implements complex memorizing algorithms which are based on
the present database as well as on individual user interaction.The only disadvantage of
Tensorflow is that it is quite difficult to understand for beginners.

System requirements

The minimum system requirements for running a personalized AI assistant can vary
depending on the specific software and its capabilities. However, typically, a modern
computer or smartphone with at least 2GB of RAM, a decent processor (such as an Intel Core
i3 or equivalent), and a stable internet connection should be sufficient. The specific
requirements may change as the AI assistant software evolves, so it’s always a good idea to
check the latest recommendations from the provider.

Creating a program for a personalized AI assistant would also depend on various


factors such as the complexity of the assistant’s functions and the technology stack you’re
using. However, here are some general minimum system requirements:

1. Operating System: A modern operating system such as Windows 10, macOS, or a


recent version of Linux.
2. Development Environment: An integrated development environment (IDE) or text
editor suitable for the programming language you’re using (e.g., Python, Java,
JavaScript).
3. Hardware: A computer with sufficient resources to handle development tasks,
including compiling code and running tests. This typically means at least 4GB of
RAM, a multi-core processor, and enough storage space for your development tools
and files.
4. Internet Connection: A stable internet connection for accessing documentation,
downloading libraries, and possibly for integrating with cloud-based services for AI
capabilities.
5. Software Dependencies: Depending on the specific requirements of your AI assistant,
you may need additional software libraries or frameworks for tasks such as natural
language processing (NLP), machine learning, or speech recognition. Make sure your
system meets the requirements of these dependencies.

Again, these are general guidelines, and the actual requirements may vary depending
on the complexity and specific technology stack of your AI assistant project. It’s always a
good idea to check the documentation and system requirements of the tools and libraries you
plan to use.

PRODUCT GOALS AND OBJECTIVES:

Main objective of building personal assistant software (a virtual assistant) is using


semantic data sources available on the web, user generated content and providing knowledge
from knowledge databases. The main purpose of an intelligent virtual assistant is to answer
questions that users may have. This may be done in a business environment, for example, on
the business website, with a chat interface. On the mobile platform, the intelligent virtual
assistant is available as a call-button operated service where a voice asks the user “What can I
do for you?” and then responds to verbal input. Currently, the project aims to provide the
Windows Users with a Virtual Assistant that would not only aid in their daily routine tasks
like searching the web, playing music and many others but also help in automation of various
activities. In the long run, we aim to develop a complete server assistant, by automating the
entire server management process - deployment, backups, auto-scaling, logging, monitoring
and make it smart enough to act as a replacement for a general server administrator.

HARDWARE AND SOFTWARE REQUIREMENTS:

The software is designed to be light-weighted so that it doesn’t be a burden on the


machine running it. This system is being build keeping in mind the generally available
hardware and software compatibility. Here are the minimum hardware and software
requirement for virtual assistant. Hardware:

• Pentium-pro processor or later.

• RAM 512MB or more. Software:


• Windows 7(32-bit) or above.

• Python 2.7 or later

• Chrome Driver

• Pycharm or anyother IDE

SAMPLE DESIGN:

ALGORITHM USED:

 The class which we are using is called Recognizer.


 It converts the audio files into text and module is used to give the output in speech.
 Energy threshold function represents the energy level threshold for sounds. Values below
this threshold are considered silence, and values above this threshold are considered
speech. 17
 Recognizer instance.adjust_for_ambient_noise(source, duration = 1), adjusts the energy
threshold dynamically using audio from source (an AudioSource instance) to account for
ambient noise.
 The said command is converted into text via speech recognition module and further
stored in a temp.
 Then, Analyze the user’s text via temp and decide what the user needs based on input
provided and runs the while loop.

COMPONENT DIAGRAM:

FLOWCHART:

You might also like