YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
AI Voice Bot for Autism
A Chrome extension that provides a friendly, voice-interactive chatbot specifically designed for children with autism. The bot uses speech recognition, OpenAI's GPT model, and speech synthesis to create a supportive, engaging conversation experience.
Features
- π£οΈ Voice Recognition: Listens to spoken input
- π€ AI-Powered Responses: Uses GPT-3.5-turbo for contextual, age-appropriate responses
- π Voice Synthesis: Converts responses to speech with emotion-aware tone adjustments
- π Autism-Friendly: Designed with simple sentences and clear communication
- π Emotional Intelligence: Adjusts speech parameters based on emotional context
- π Language Support: Primary support for English, with voice selection options
Technical Details
- Framework: Chrome Extension
- APIs Used:
- Web Speech API (recognition and synthesis)
- OpenAI GPT-3.5-turbo
- Key Features:
- Configurable voice selection
- Emotion-aware speech parameters
- Simple, clear communication style
- Persistent voice preferences
Usage
- Install the Chrome extension
- Configure your OpenAI API key in config.properties
- Customize the system prompt in config.properties for your specific needs:
- Update the individual's name (default is "Agam")
- Adjust language preferences (e.g., English, Hindi, Punjabi)
- Modify communication style based on age and preferences
- Customize sentence complexity and length
- Add specific interests or topics to discuss
- Any other refinements, as required
- Click the extension icon to open
- Select your preferred voice from the dropdown
- Click "Tap to Talk" and start speaking
Configuration
The bot can be configured through config.properties:
OPENAI_API_KEY: Your OpenAI API keySYSTEM_PROMPT: Customizable conversation style and personality. Modify this prompt to:- Set the individual's name and age
- Specify language preferences and any bilingual requirements
- Adjust communication complexity (e.g., sentence length, vocabulary level)
- Define conversation style (e.g., cheerful, calm, enthusiastic)
- Include specific topics or interests
- Set any behavioral preferences or requirements
Example prompt customization:
You are talking to a [AGE]-year-old [CONDITION] [INDIVIDUAL] named [NAME].
Use [NUMBER] sentences per reply with [COMPLEXITY] words.
Speak in [LANGUAGE(S)]. Sound [TONE] and [STYLE].
Focus on topics like [INTERESTS].
[Additional specific requirements...]
Installation
- Clone the repository
- Add your OpenAI API key to config.properties
- Load as an unpacked extension in Chrome
- Click the extension icon to start
License
This project is licensed under the MIT License - see the LICENSE file for details.
This means you can:
- β Use the code commercially
- β Modify the code
- β Distribute the code
- β Use it privately
- β Sublicense it
The only requirement is to include the original license and copyright notice in any copy of the software/source.
Authors
This project was created by SachiKaur. You can find more of my work at:
- π€ Hugging Face
- π GitHub
Citation
If you use this bot in your research or projects, please cite:
@software{ai_voice_bot_autism_2025,
author = {SachiKaur},
title = {AI Voice Bot for Autism},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/SachiKaur/ai-voice-bot-for-autism},
note = {A Chrome extension providing an autism-friendly voice chatbot interface}
}