Skip to content

OpenAI GPT-4 powered assistant with text-to-speech capabilities

Notifications You must be signed in to change notification settings

nikdanilov/openai-assistant-with-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

OpenAI GPT-4 Assistant with Audio 🎙️🤖

This project is an interactive application that utilizes the OpenAI GPT-4 API to converse with users and respond vocally. It leverages the latest OpenAI text-to-speech features to synthesize and stream audio responses in real-time, providing an engaging user experience.

Features 🌟

  • Text-based interaction with OpenAI's GPT-4 model.
  • Real-time audio feedback using OpenAI's text-to-speech synthesis.
  • Streamlined audio playback in Python without the need to download files.

Getting Started 🚀

To get started with this project:

  1. Clone the repository:
git clone https://github.com/nikdanilov/openai-assistant-with-audio
  1. Navigate to the project directory:
cd openai-assistant-with-audio
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Set up your OpenAI API key in your environment variables:
export OPENAI_API_KEY='your-api-key'
  1. Run the application:
python main.py

Usage 📖

Simply type your questions or commands, and the assistant will respond both textually and audibly.

Enjoy interacting with your OpenAI-powered vocal assistant! 🎉

About

OpenAI GPT-4 powered assistant with text-to-speech capabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages