CASE STUDY

NLP-based Mental Health Chatbot for Employees on the Autism Spectrum

Expertise Delivered

Backend
QA

Industry

Healthcare

Our client,

Recruit AI is a B2B SaaS platform that aims to reduce inefficiencies in traditional hiring practices. Through ethical AI and data science, Recruit AI maximizes objectivity and reduces unconscious bias in talent and recruiting. It ensures workplace happiness through the best matches between employee and employer.

Disclaimer: The name Recruit AI is a placeholder, as there is an NDA signed between both parties.

Challenge

Recruit AI won the Microsoft-organized hackathon, AI for Accessibility 2019, which inspired the founders to create an inclusive onboarding framework for employees with special needs.

They were looking to design a mental health chatbot for employees on the autistic spectrum. The chatbot would help such employees navigate their day-to-day workplace challenges before they could speak with a counselor. Recruit AI’s previous FAQ chatbot couldn’t solve the queries of autistic employees, so they were left with no choice but to see a counselor directly.

The chatbot’s job was to assist employees with personalized insights & real-time support to face workplace challenges head-on and overcome them with ease. The bot conversed with employees like a therapist to peel back the layers and find the exact source of the challenge(s) they were facing.

Categories of workplace challenges to be addressed via the bot included, but were not limited to employee onboarding, work arrangements, and office/health-related issues.

The most significant challenge of developing a contextual bot for Recruit AI was managing each user's context while interacting with the bot. Doing so required an advanced system of code that learns what each user wants at any given time based on their input.

Context management is essential as it helps make the interactions between a bot, and its user less robotic as well as scripted and more streamlined. It is easier for bots to interact with users by establishing base facts and specific ways of communicating contextual to the situation.

Solution

A contextual bot enables the creation of more natural, realistic, and human-like conversations. Keeping this in mind, the engineers at Maruti Techlabs addressed the challenge by building a text-based NLP chatbot from scratch with particular attention to contextual management.  

Here is how we ensured the bot was equipped with skills to detect and manage context:

  • Our NLP engineers trained more than 160 intents with the provided utterances to improve the bot's accuracy in detecting intent. 
  • We also built a custom logic tree for context management, making room for continuous improvement and better conversation handling at scale. 
  • To ensure that the bot never lost context across different conversations, the engineering team kept adding relevant intents within the syntax tree structure of the bot through a JSON file.

We used the Microsoft Bot framework - Language Understanding (LUIS) to define the chatbot conversation and deployed it on the Microsoft Azure platform, as the client was a Microsoft partner.

The chatbot was designed to act as a therapist, offering helpful advice and suggestions, leading to better resolution. E.g., the user says, “I cannot adjust to meeting new people.” The bot responds by saying, “I am sorry to hear that! You may find it difficult to adjust to meeting new people or feeling stressed. It is okay to feel this way! Here are some tips to help you adjust better.”

                                                

 

                                                

The bot had to be trained across different themes of questions. For example, questions around onboarding required a different contextual understanding than those around teamwork. To help us craft better responses, we sought help from the conversational experts at WotNot, Maruti Techlabs’ proprietary no-code chatbot platform.

We trained the chatbot for different conversation themes:

  • Onboarding
  • Work Arrangements
  • Office and Health
  • Organizing and Planning
  • Team Work
  • Communication at work

Bot Intents and Utterances

  • Bot intent refer to the goal the customer has in mind when typing a question or sentence.
  • Utterances refer to anything that a user says or types

 

Like what you read? Validate your idea/project with our AI Readiness Audit.




Phone

Don't take our word for it, take theirs!

Process

The project was a milestone-based two-phase endeavor. It was divided into two stages - the PoC stage, which lasted two months, and the actual project stage, which continued for three months.

During the PoC phase, the Maruti Techlabs team trained Microsoft LUIS for five initial conversations to confirm that everything aligned with the client’s expectations. Once we got the go-ahead from the client, we proceeded to the project stage.

In the project stage, the team trained the bot for about 50-60 conversations. They trained 160 intents and 3000 training phrases for each conversation in LUIS. The team taught LUIS to examine user input and provide contextual output for particular user requests.

Communication & Collaboration

A dedicated Slack channel was used for daily communication with the client. We met bi-weekly over Microsoft Teams to address questions and the progress of the chatbot.

Additionally, we used Google Sheets to classify data from conversations, sort out customer intent statements, and automate responses.

commu_img1.png

Technology Stack

Mental-health-chatbot-using-nlp.png

Results

The NLP-powered mental health chatbot is revolutionary for the employees at Recruit AI. It has proven to help employees with varying degrees of autism improve their social skills and feel welcomed and have a sense of belonging in the workplace.

The chatbot solution we built contributed to the organization in the following ways-

✅ Personalized insights & real-time support for people on the autism spectrum. 

✅ The bot acts as a virtual mentor to 150+ neurodivergent employees.

✅ The chatbot’s presence in organizations prompts them to hire more neurodiverse talent, helping create more inclusive and diverse workplaces.

✅ Enhanced employment opportunities for differently-abled candidates. 

✅ The bot has been rolled out to 30+ organizations in the first phase of the project roadmap.

Our Development Process

We follow Agile, Lean, & DevOps best practices to create a superior prototype that brings your users’ ideas to fruition through collaboration & rapid execution. Our top priority is quick reaction time & accessibility.

We really want to be your extended team, so apart from the regular meetings, you can be sure that each of our team members is one phone call, email, or message away.

Mesa de trabajo 1 copia@2x.png
How We Work?

NLP implementation steps are often very specific to the tasks to be executed. Our fundamental process relies on various text and data analysis tools to simplify human-machine interactions and enable businesses to deliver next-generation digital experiences that are contextually relevant, highly interactive, and refreshingly human.

Text Preprocessing
We begin by collecting data from multiple sources and building a raw text corpus in the first stage. Damaged, irrelevant, or incomplete data is eliminated, and useful text is normalized and prepared for further analysis.
Text Parsing & Exploratory Data Analysis
This is the structuring stage, where the raw data is sifted & organized to do a focused analysis with a smaller dataset. It involves identifying & removing irrelevant sections, extracting coded metadata, & determining the format. By selecting the various intents & entities required for the predetermined tasks, a deep exploratory analysis helps establish a format for representation.
Text Representation & Transformation
Now that the datasets are categorized, we use various visualization techniques to represent the data in a meaningful format to retrieve useful insights. It includes a semantic, syntactic, and pragmatic analysis of the text to understand the interpretable content.
Modeling
We now approach the most critical Natural Language Processing discipline of modeling artificial neural networks (ANN) and training them to automate the learning of complex linguistic and behavioral models. Text mining at this stage helps to funnel down the data and do targeted information retrieval.
Evaluation & Deployment
The NLP model is tested for performance against several training parameters at the final stage. The metrics are observed, and corrective measures are taken where necessary. The successful model is then deployed in the execution environment.
Text Preprocessing
We begin by collecting data from multiple sources and building a raw text corpus in the first stage. Damaged, irrelevant, or incomplete data is eliminated, and useful text is normalized and prepared for further analysis.
Text Parsing & Exploratory Data Analysis
This is the structuring stage, where the raw data is sifted & organized to do a focused analysis with a smaller dataset. It involves identifying & removing irrelevant sections, extracting coded metadata, & determining the format. By selecting the various intents & entities required for the predetermined tasks, a deep exploratory analysis helps establish a format for representation.
Text Representation & Transformation
Now that the datasets are categorized, we use various visualization techniques to represent the data in a meaningful format to retrieve useful insights. It includes a semantic, syntactic, and pragmatic analysis of the text to understand the interpretable content.
Modeling
We now approach the most critical Natural Language Processing discipline of modeling artificial neural networks (ANN) and training them to automate the learning of complex linguistic and behavioral models. Text mining at this stage helps to funnel down the data and do targeted information retrieval.
Evaluation & Deployment
The NLP model is tested for performance against several training parameters at the final stage. The metrics are observed, and corrective measures are taken where necessary. The successful model is then deployed in the execution environment.

AI Readiness Audit

Finding the right AI partner is no easy task.

Building an AI product that delivers on value, is even more challenging.

We help you get started with a slightly different approach. Before we get into the trenches and kickstart development, we take a top-down approach with an AI Readiness Audit.

This involves really validating the idea, through qualitative and quantitative analysis of your datasets, identifying the best fit approach to model development, and putting together an implementation roadmap.

All this before writing a single line of code, and investing heavily into the idea.

Achieve more with less. 

AI Readiness Audit.png

More social proof incase you're still on the fence

Our Clients Review
Our Happy Clients
Review Everything
Why Choose Maruti Techlabs?
14+ years experience
Start as quickly as week
Recurring cost of training and benefits - $0
4.8/5 NPS on Clutch
Certified PMs & delivery teams
Rapid deployment & on-time delivery
Complete transparency
Robust communication across shared channels
Agile & lean startup methodology
Experience across 16 industries

Years of Experience

Professionals

Projects Delivered

NPS on Clutch

Services
  • Software Product Development
  • Artificial Intelligence
  • Data Engineering
  • DevOps
  • UI/UX
  • Product Strategy
Case Study
  • DelightfulHomes (Product Development)
  • Sage Data (Product Development)
  • PhotoStat (Computer Vision)
  • UKHealth (Chatbot)
  • A20 Motors (Data Analytics)
  • Acme Corporation (Product Development)
Technologies
  • React
  • Python
  • Nodejs
  • Staff Augmentation
  • IT Outsourcing
Company
  • About Us
  • WotNot
  • Careers
  • Blog
  • Contact Us
  • Privacy Policy
mtechlogo.svg
Our Offices

USA 
5900 Balcones Dr Suite 100 
Austin, TX 78731, USA

India
10th Floor The Ridge
Opp. Novotel, Iscon Cross Road
Ahmedabad, Gujarat - 380060

clutch_review
goodfirms_review
Social
Social
Social
Social
©2024 Maruti TechLabs Pvt Ltd . All rights reserved.

  • Software Product Development
  • Artificial Intelligence
  • Data Engineering
  • DevOps
  • UI/UX
  • Product Strategy

  • DelightfulHomes (Product Development)
  • Sage Data (Product Development)
  • PhotoStat (Computer Vision)
  • UKHealth (Chatbot)
  • A20 Motors (Data Analytics)
  • Acme Corporation (Product Development)

  • React
  • Python
  • Nodejs
  • Staff Augmentation
  • IT Outsourcing

  • About Us
  • WotNot
  • Careers
  • Blog
  • Contact Us
  • Privacy Policy

USA 
5900 Balcones Dr Suite 100 
Austin, TX 78731, USA

India
10th Floor The Ridge
Opp. Novotel, Iscon Cross Road
Ahmedabad, Gujarat - 380060

©2024 Maruti TechLabs Pvt Ltd . All rights reserved.