Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/futurenorthants/smartspeaker
https://github.com/futurenorthants/smartspeaker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/futurenorthants/smartspeaker
- Owner: FutureNorthants
- Created: 2021-11-15T17:38:00.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-25T08:27:52.000Z (over 2 years ago)
- Last Synced: 2023-03-05T02:08:04.916Z (almost 2 years ago)
- Language: Python
- Size: 724 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# A simple smart speaker
The aim of this project is to showcase innovation by building a smart speaker that can connect to Norbert's Microsft QnA service to answer questions.## Prerequisites
- Python 3.* installed
- Python virtual environments able to be created
- flac install (on mac with brew run ```brew install flac``` in ubuntu run ```sudo apt install flac```)Add a credentials.py file with the following format:
```python
class credentials():
def __init__(self):
self.QnA_DOMAIN=""
self.QnA_AUTH=""
self.QnA_COOKIE=""
self.QnA_ENDPOINT=""
self.QnA_CONFIDENCE=60
```
## SetupNavigate to the folder
connect to the virtual environment (on a mac run ```source virtenv/bin/activate```, in vscode select python next to the git branch and select the recommended option)
install the dependancies by running ```pip3 install -r requirements.txt```## Run
ensure you are in the virtual environment
run ```python3 app.py```