Skip to content

Repository files navigation

Automation of Sleep Surveys

Overview

This ASS_chatbot.ipynb Python script facilitates a comprehensive assessment of sleep quality through interactive voice-based surveys. It integrates speech-to-text and text-to-speech functionalities, enabling users to respond to questions verbally. The focus is on analyzing responses to the Richards-Campbell Sleep Questionnaire and other sleep-related queries. version1_onetime_recording.zip is the One-Time Complete Recording Version. We choose the chatbot version for the report.

Features

  • Text-to-Speech and Speech-to-Text Conversion: Converts questions to speech and user responses back to text.
  • Voice Activity Detection: Implements VAD to capture meaningful audio input.
  • Response Processing and Confirmation: Analyzes and confirms user responses.
  • Scoring System: Calculates scores based on the Richards-Campbell Sleep Questionnaire.

Setup

  1. Install dependencies: pip install -r requirements.txt.
  2. Set up your OpenAI API key in the script.

About

FINAL PROJECT

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages