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.

test.yml 1.9 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. nodes:
  2. - id: dora-microphone
  3. build: pip install -e ../../node-hub/dora-microphone
  4. path: dora-microphone
  5. inputs:
  6. tick: dora/timer/millis/2000
  7. outputs:
  8. - audio
  9. - id: dora-vad
  10. build: pip install -e ../../node-hub/dora-vad
  11. path: dora-vad
  12. inputs:
  13. audio: dora-microphone/audio
  14. outputs:
  15. - audio
  16. - timestamp_start
  17. - id: dora-distil-whisper
  18. build: pip install -e ../../node-hub/dora-distil-whisper
  19. path: dora-distil-whisper
  20. inputs:
  21. input: dora-vad/audio
  22. outputs:
  23. - text
  24. env:
  25. TARGET_LANGUAGE: english
  26. - id: dora-llama-cpp-python
  27. build: pip install -e ../../node-hub/dora-llama-cpp-python
  28. path: dora-llama-cpp-python
  29. inputs:
  30. text: dora-distil-whisper/text
  31. outputs:
  32. - text
  33. env:
  34. MODEL_NAME_OR_PATH: TheBloke/Llama-2-7B-Chat-GGUF # Llama 2.7B model pull from Hugging Face
  35. MODEL_FILE_PATTERN: "*Q4_K_M.gguf"
  36. SYSTEM_PROMPT: "You're a very succinct AI assistant with short answers."
  37. ACTIVATION_WORDS: "what how who where you"
  38. MAX_TOKENS: "512"
  39. N_GPU_LAYERS: "35" # Enable GPU acceleration
  40. N_THREADS: "4" # CPU threads
  41. CONTEXT_SIZE: "4096" # Maximum context window
  42. - id: plot
  43. build: pip install -e ../../node-hub/dora-rerun
  44. path: dora-rerun
  45. inputs:
  46. text_llama: dora-llama-cpp-python/text
  47. text_whisper: dora-distil-whisper/text
  48. - id: dora-kokoro-tts
  49. build: pip install -e ../../node-hub/dora-kokoro-tts
  50. path: dora-kokoro-tts
  51. inputs:
  52. text: dora-llama-cpp-python/text
  53. outputs:
  54. - audio
  55. env:
  56. ACTIVATION_WORDS: you
  57. - id: dora-pyaudio
  58. build: pip install -e ../../node-hub/dora-pyaudio
  59. path: dora-pyaudio
  60. inputs:
  61. audio: dora-kokoro-tts/audio
  62. timestamp_start: dora-vad/timestamp_start