Skip to content

box1d/Azure-OpenAI-Chat-TTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Azure-OpenAI-Chat-TTS

This project integrates Azure Cognitive Services for speech recognition and text-to-speech (TTS) with OpenAI's chat model. The application listens to user input, processes it using OpenAI's chat model, and then speaks out the response using Azure TTS.

Features

  • Real-time speech recognition
  • Streamed responses from OpenAI's chat model
  • Natural text-to-speech synthesis

Requirements

  • Python 3.7+
  • Azure Cognitive Services subscription
  • OpenAI API key

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/Azure-OpenAI-Chat-TTS.git
    cd Azure-OpenAI-Chat-TTS
  2. Install the dependencies:
pip install -r requirements.txt

Usage

  1. Replace the placeholder values in main.py with your Azure subscription key, service region, and OpenAI API key.

  2. Run the application

python main.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages