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.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. ## Code Modifier
  38. - id: vectordb
  39. operator:
  40. python: sentence_transformers_op.py
  41. inputs:
  42. query: keyboard/change
  43. saved_file: file_saver/saved_file
  44. outputs:
  45. - raw_file
  46. - id: llm
  47. operator:
  48. python: llm_op.py
  49. inputs:
  50. code_modifier: vectordb/raw_file
  51. assistant: keyboard/ask
  52. message_sender: keyboard/send
  53. outputs:
  54. - modified_file
  55. - line
  56. - assistant_message
  57. - id: file_saver
  58. operator:
  59. python: file_saver_op.py
  60. inputs:
  61. file: llm/modified_file
  62. outputs:
  63. - saved_file