You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3 kB

5 months ago
5 months ago
5 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Dora-OpenAI-Realtime (ROOT Repo)
  2. ## Front End
  3. ### Build Client
  4. ```bash
  5. git clone git@github.com:haixuanTao/moly.git --branch dora-backend-support
  6. cd moly
  7. cargo build --release
  8. ```
  9. ### Run Client
  10. ```bash
  11. cd moly
  12. cargo run -r
  13. ```
  14. ## Server
  15. ### Build server
  16. ```bash
  17. uv venv --seed -p 3.11
  18. source .venv/bin/activate
  19. uv pip install dora-rs-cli dora-rs
  20. dora build whisper-template-metal.yml --uv ## very long process
  21. ```
  22. ### Run server
  23. ```bash
  24. source .venv/bin/activate
  25. dora up
  26. cargo run --release -p dora-openai-websocket
  27. ```
  28. ## On finish
  29. ```bash
  30. dora destroy
  31. ```
  32. ## GUI
  33. - Go to MolyServer Tab
  34. - Add a custom Provider
  35. - In API Host, use:
  36. - Name: dora-websocket
  37. - API Host: ws://127.0.0.1:8123
  38. - Type: OpenAI Realtime
  39. - Then go to Chat Tab
  40. - New Chat
  41. - ( Make sure the servver is running with: `cargo run --release -p dora-openai-websocket`)
  42. - On bottom right, click on 🎧 icon.
  43. > If nothing happen is that the server is not found.
  44. - Click on start
  45. - Wait for the first AI greeting
  46. - Start speaking!
  47. - You should get AI response!
  48. ### WIP: Moyoyo
  49. ## {Recommended} Install git-lfs
  50. ```bash
  51. brew install git-lfs # MacOS
  52. ```
  53. ## Clone Moxin Voice Chat
  54. ```bash
  55. git lfs install
  56. git clone https://github.com/moxin-org/moxin-voice-chat.git
  57. ```