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.

dataflow_llm.yml 1.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. nodes:
  2. - id: webcam
  3. operator:
  4. python: webcam.py
  5. inputs:
  6. tick: dora/timer/millis/50
  7. outputs:
  8. - image
  9. - id: object_detection
  10. operator:
  11. python: object_detection.py
  12. inputs:
  13. image: webcam/image
  14. outputs:
  15. - bbox
  16. - id: plot
  17. operator:
  18. python: plot.py
  19. inputs:
  20. image: webcam/image
  21. bbox: object_detection/bbox
  22. line: llm/line
  23. keyboard_buffer: keyboard/buffer
  24. user_message: keyboard/submitted
  25. assistant_message: llm/assistant_message
  26. ## Speech to text
  27. - id: keyboard
  28. custom:
  29. source: keyboard_op.py
  30. outputs:
  31. - buffer
  32. - submitted
  33. - record
  34. - ask
  35. - send
  36. - change
  37. inputs:
  38. recording: whisper/text
  39. - id: microphone
  40. operator:
  41. python: microphone_op.py
  42. inputs:
  43. record: keyboard/record
  44. outputs:
  45. - audio
  46. - id: whisper
  47. operator:
  48. python: whisper_op.py
  49. inputs:
  50. audio: microphone/audio
  51. outputs:
  52. - text
  53. ## Code Modifier
  54. - id: vectordb
  55. operator:
  56. python: sentence_transformers_op.py
  57. inputs:
  58. query: keyboard/change
  59. saved_file: file_saver/saved_file
  60. outputs:
  61. - raw_file
  62. - id: llm
  63. operator:
  64. python: llm_op.py
  65. inputs:
  66. code_modifier: vectordb/raw_file
  67. assistant: keyboard/ask
  68. message_sender: keyboard/send
  69. outputs:
  70. - modified_file
  71. - line
  72. - assistant_message
  73. - id: file_saver
  74. operator:
  75. python: file_saver_op.py
  76. inputs:
  77. file: llm/modified_file
  78. outputs:
  79. - saved_file