Giter Site home page Giter Site logo

briamcode / carter-voice-assistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huwprosser/carter-voice-assistant

0.0 0.0 0.0 42 KB

An example project showing how to use www.carterapi.com as a voice assistant.

License: MIT License

Python 93.68% Dockerfile 6.32%

carter-voice-assistant's Introduction

LLM powered voice assistant in Python

Discord

An example project showing how to use PyWebRTCVad and Carter with your voice in Python. This will run on a Raspberry Pi, Macbook, Windows PC and gives you complete voice input and output to your character. It also uses the Carter API to get the agent's voice output (subject to improvement soon!)

Steve Jobs demo:

B13527BD-CC65-486E-97F0-535DCDDA6688.mp4

๐Ÿš€ START

First, install the other requirements:

pip install -r requirements.txt

Then, run the following command to start the server:

python app.py --key your-api-key --user=UNIQUE_STRING

To find out more about the API key and configure your agent, visit the Carter website.

PyAudio for M1 Macs

to install PyAudo for M1 Macs, this will require a small workaround, as PortAudio is not automatically detected. first, we need to install PortAudio
brew install portaudio

then, we need to create a new file:

nano ~/.pydistutils.cfg

the contents of that file may vary slightly (ie, version number)

[build_ext]
include_dirs=/opt/homebrew/Cellar/portaudio/19.7.0/include/
library_dirs=/opt/homebrew/Cellar/portaudio/19.7.0/lib/

where 19.7.0 should be replaced with the portaudio version you get installed. this should be executed BEFORE running the pip install -r requirements.txt command

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.