Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omjavia/open-ai
https://github.com/omjavia/open-ai
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/omjavia/open-ai
- Owner: OmJavia
- Created: 2023-07-16T09:08:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T07:32:29.000Z (about 2 months ago)
- Last Synced: 2024-11-12T08:25:13.126Z (about 2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-assistant2. **Set Up Open AI API key**
- Obtain your API key from OpenAI
- Paste the key in openaitest file under the openai api key section3. **Run The Program**
``` bash
python main.py