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

https://github.com/indiecodermm/smart-one-ai

🤖 AI assistant that can listen to user input and provide responses. It includes GUI to print the result and receive text input. Built with Python, OpenAI API, PySimpleGUI
https://github.com/indiecodermm/smart-one-ai

ai-assistant chatbot openai-api python speech-recognition

Last synced: 26 days ago
JSON representation

🤖 AI assistant that can listen to user input and provide responses. It includes GUI to print the result and receive text input. Built with Python, OpenAI API, PySimpleGUI

Awesome Lists containing this project

README

        

[![CodeFactor](https://www.codefactor.io/repository/github/indiecodermm/smart-one-ai/badge)](https://www.codefactor.io/repository/github/indiecodermm/smart-one-ai)
[![Maintainability](https://api.codeclimate.com/v1/badges/5d39b9280da5ddcf406e/maintainability)](https://codeclimate.com/github/IndieCoderMM/smart-one-ai/maintainability)
![LastUpdate](https://img.shields.io/github/last-commit/IndieCoderMM/smart-one-ai)
[![Forks](https://img.shields.io/github/forks/IndieCoderMM/smart-one-ai)](https://github.com/IndieCoderMM/smart-one-ai/network/members)
![Stars](https://img.shields.io/github/stars/IndieCoderMM/smart-one-ai)
[![License](https://img.shields.io/github/license/IndieCoderMM/smart-one-ai.svg)](https://github.com/IndieCoderMM/smart-one-ai/blob/master/LICENSE)

## Table of Contents

- [😎 Smart One - A.I. Assistant](#-smart-one---ai-assistant)
- [🔥 Features](#-features)
- [⚙ Requirements](#-requirements)
- [📦 Libraries](#-libraries)
- [📥 Installation](#-installation)
- [📧 Contact](#-contact)
- [🤝 Contributing](#-contributing)
- [💖 Show your support](#-show-your-support)
- [🎯 Roadmap](#-roadmap)
- [💡 Inspiration](#-inspiration)
- [📜 License](#-license)

# 😎 Smart One - A.I. Assistant

**Smart One** is an A.I. assistant program that can listen to a user's input and provide an appropriate response. It uses [OpenAI API](https://beta.openai.com/docs/api-reference?lang=python) to understand and interpret user's request and generate a response in real-time.

![Screenshot](screenshot00.png)

## 🔥 Features

- Speech recognition: Listen to the user's input through a microphone and transcribe into text
- Natural language processing: Able to understand the meaning and context of user's input
- Quick and accurate response: Efficient and seamless communication
- Contextual understanding: Remember previous interactions and give more relevant responses
- Knowledge base: Provide information on a wide range of topics
- Audio output: Provide responses in audio form
- User-friendly GUI: Simple and intuitive interface

## ⚙ Requirements

- [Python](https://www.python.org/): 3.9 or higher
- [Pipenv](https://docs.pipenv.org/): Python packaging tool

## 📦 Libraries

- [OpenAI Python](https://github.com/openai/openai-python)
- [PySimpleGUI](https://pypi.org/project/PySimpleGUI/)
- [Speech Recognition](https://pypi.org/project/SpeechRecognition/)
- [Pyttsx3](https://pypi.org/project/pyttsx3/)

## 📥 Installation

To install the program, follow these steps:

1. Clone this repo to the desired folder.
```sh
git clone [email protected]:IndieCoderMM/smart-one-ai.git
```
2. Enter the project directory.
```sh
cd smart-one-ai
```
3. Install the libraries.
```sh
pipenv install
```
4. Get secret key from [OpenAI API](https://beta.openai.com/account/api-keys) and add the key in `smart_one/utils/openai_helper.py`.
5. Activate pipenv and run the program.
```sh
pipenv shell
python -m smart_one
```

_You can customize the profile (name, voice, etc) in `smart_one/utils/settings.py`_

## 📧 Contact

I am always looking for ways to improve my project. If you have any suggestions or ideas, I would love to hear from you.

[![Github](https://img.shields.io/badge/GitHub-673AB7?style=for-the-badge&logo=github&logoColor=white)](https://github.com/IndieCoderMM)
[![Twitter](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/hthant_oo)
[![Linkedin](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://linkedin.com/in/hthantoo)
[![Gmail](https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white)]([email protected])

## 🤝 Contributing

I welcome any and all contribution that can help me improve my project. If you have any ideas or feedback that you'd like to share, please don't hesitate to reach out.

## 💖 Show your support

If you like this project, you can support me by giving a ⭐.

## 🎯 Roadmap

- [x] Save current conversation
- [ ] Os-related tasks
- [ ] Code translation

## 💡 Inspiration

- [Python-ai-assistant](https://github.com/ggeop/Python-ai-assistant)
- [Build Alexa/Siri-equivalent bot in Python](https://betterprogramming.pub/building-an-alexa-or-siri-equivalent-bot-in-python-ea07ed001445?gi=fff8becaf3d6)
- [How to build Jarvis](https://www.freecodecamp.org/news/python-project-how-to-build-your-own-jarvis-using-python/)

## 📜 License

This project is [MIT](./LICENSE) licensed.