Code Monkey home page Code Monkey logo

voice_bittle's Introduction

Voice Bittle

This projects intends to create a demo of a voice assistant for Bittle. The voice assistant will be able to understand voice commands and execute them on the robot.

Roadmap

  1. Control the robot via serial communication
  2. Using LLM to understand natural language commands
  3. Voice recognition
  4. Transition to a domestic LLM
  5. Fix the multi-threading bug
  6. Implement an idle state; the robot should default to an idle state in the absence of commands
  7. Replace the robots main program with a custom program
  8. Refine texts prior to their submission to the LLM
  9. Address the issue of the voice recognition server terminating the connection
  10. Emit preliminary feedback pending the LLM's reply
  11. Design a more realistic idle state
  12. Design a better prompt

How to use

  1. Run pip install -r requirements.txt
  2. Add your xunfei APPID, APISERCET, XF_APIKEY and OPENAI_API_KEY to key.py
  3. Connect the robot to your computer
  4. Run python dog.py

File Structure

  • dog.py: main file; modified from ref/dog.py
  • key.py: store the API keys
  • sst.py: speech to text; modified from ref/iat_ws_python3.py
  • tools.py: functions sending commands to the robot, used for tool calls
  • send_command/: a folder containing the files used to set up the serial communication with the robot and send commands to it; copied from OpenCat

Ref

voice_bittle's People

Contributors

lng205 avatar echoandzoey avatar edmonds39 avatar

Watchers

 avatar

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.