Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omjavia/open-ai


https://github.com/omjavia/open-ai

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# OpenAI Speech Assistant (Jarvis-like AI)

**Project Description**: This project is a personal AI assistant inspired by *Jarvis*, the AI from Marvel. Built using **OpenAI's GPT API**, **Python**, and **Speech Recognition**, this assistant can listen to voice commands, process information, and respond in real-time with intelligent and conversational answers. It is designed to offer an interactive, hands-free experience for general knowledge, personal tasks, and even friendly conversations.

![Ai](https://github.com/user-attachments/assets/c2bc8e64-315b-45a4-ac42-b07be74031cc)
---

## Table of Contents

- [Features](#features)
- [Technologies Used](#technologies-used)
- [Installation](#installation)
- [How to Use the Assistant](#how-to-use-the-assistant)
- [Configuration](#configuration)
- [Future Enhancements](#future-enhancements)
- [License](#license)

---

## Features

- **Voice Recognition & Commands**: The assistant listens to voice commands, converting speech to text for further processing.
- **Interactive AI Responses**: Powered by OpenAI, the assistant delivers contextual responses, making conversations feel natural.
- **Jarvis-Like Functionality**: Offers a personalized, AI-driven experience similar to *Jarvis*, answering questions, holding conversations, and following multi-step commands.
- **Real-Time Text-to-Speech**: The assistant uses text-to-speech (TTS) to audibly respond, creating a seamless dialogue experience.
- **Task Assistance**: Can provide information, answer questions, and assist with everyday tasks like setting reminders or looking up facts.

## Technologies Used

- **Python**: Core programming language for the project.
- **OpenAI API**: Enables the assistant to understand and generate conversational responses.
- **SpeechRecognition**: Converts spoken language to text, allowing the assistant to interpret voice commands.
- **pyttsx3**: Text-to-speech library used to speak responses aloud, adding to the *Jarvis*-like experience.

## Installation

To run this project locally, follow these steps:

1. **Clone the Repository**
```bash
git clone https://github.com/yourusername/openai-speech-assistant.git
cd openai-speech-assistant

2. **Set Up Open AI API key**
- Obtain your API key from OpenAI
- Paste the key in openaitest file under the openai api key section

3. **Run The Program**
``` bash
python main.py