Skip to content

elliptic1/Talk-to-ChatGPT

Repository files navigation

OpenAI Chatbot

This project allows you to talk to an AI chatbot powered by OpenAI's GPT-3 language model. It uses OpenAI's Whisper API for transcription and the ChatGPT API for generating responses.

Getting Started

Prerequisites

To run this project, you need to have Python 3.7 or higher installed on your machine. You also need an OpenAI API key, which you can get by signing up at OpenAI. Set it as an environment variable OPENAI_API_KEY.

Installing

  1. Clone this repository to your local machine.
  2. Create a virtual environment and activate it.
  3. Install the required packages using pip install -r requirements.txt.

Running the Project

  1. Make sure you have activated your virtual environment.
  2. Run the command python chat.py to start the chatbot.
  3. Speak into your microphone to ask a question, and wait for the chatbot to respond.

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

This allows you to talk to ChatGPT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages