GithubHelp home page GithubHelp logo

cozynye / ai-english-tutor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasonkang14/ai-english-tutor

0.0 0.0 0.0 30 KB

Interactive AI English Tutor: Harnessing OpenAI's APIs for an Immersive Language Learning Experience

Jupyter Notebook 100.00%

ai-english-tutor's Introduction

AI English Tutor

Overview

This project is an AI-powered English tutor that leverages various OpenAI APIs to create an interactive learning experience. It combines the capabilities of Chat Completions, Whisper (Speech to Text), and Text-to-Speech (TTS) to facilitate an engaging and dynamic English learning environment.

Features

  • Chat Completions: Creates an interactive chat thread for text-based English tutoring.
  • Whisper API: Implements Speech to Text functionality, allowing users to speak and have their speech converted to text.
  • Text-to-Speech (TTS): Converts the language model's responses into audio, enabling an auditory learning experience.

Prerequisites

  • OpenAI API keys for Chat Completions, Whisper, and TTS services.
  • Python 3.6 or later.
  • Jupyter Notebook.

Installation

  1. Clone the repository:
git clone [email protected]:jasonkang14/ai-english-tutor.git
cd ai-english-tutor
  1. Install required Python packages:
pip install -r requirements.txt
  1. Setup OpenAI API keys:

Set your OpenAI API keys as environment variables and store it in .env as OPENAI_API_KEY

Running the Project

  1. Launch Jupyter Notebook:
jupyter notebook

you can also use VS Code if you would like

  1. Open the project notebook (e.g., ai_english_tutor.ipynb) in the Jupyter interface.
  2. Run the cells in sequence, following any instructions provided within the notebook.

Usage

  • Interact with the chatbot via the Jupyter Notebook interface. Type your English queries or statements, and the chatbot will respond.
  • Use a microphone for the Speech to Text feature, speaking in English. The Whisper API will transcribe your speech.
  • Listen to the TTS audio responses from the language model for auditory learning and practice.

Contributions

  • Contributions to this project are welcome! Please refer to the contribution guidelines for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.