Skip to content

ravipatrayadi/MyBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ChatBot With Open AI

This project demonstrates a simple chatbot implementation using OpenAI's GPT-3 model for text generation and Gradio for creating a user-friendly interface. The chatbot can converse with users using both text and voice inputs.

Installation

  1. Clone the repository:
git clone https://github.com/your-username/chatbot.git
cd chatbot
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

  1. Obtain an API key from OpenAI by signing up on their website.

  2. Replace 'add your open ai api key here' with your OpenAI API key in the chatgpt_api function.

  3. Run the code:

python chatbot.py
  1. Once the program is running, the Gradio interface will open in your default web browser. You can interact with the chatbot by providing text or voice inputs.

Dependencies

Acknowledgments

  • OpenAI for providing the GPT-3 model and API.
  • Gradio for simplifying the creation of interactive interfaces.
  • Whisper for audio processing capabilities.
  • gTTS for text-to-speech conversion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages