stavsap / comfyui-ollama

Apache License 2.0
335 stars 29 forks source link

Add an input node for Ollama Generate #1

Closed aaronsb closed 6 months ago

aaronsb commented 6 months ago

Can you add an optional "input" for Ollama Generate? This way, I can chain of thought the prompt generation, or even take the output from Ollama vision and ask Ollama Generate to do something with it.

To keep it simple, the input is just a string. As soon as the string is done being input, process that prompt.

stavsap commented 6 months ago

@aaronsb you can do it by right click on the node and set the prompt as input

Screen Shot 2024-03-12 at 23 38 24

https://github.com/stavsap/comfyui-ollama?tab=readme-ov-file#usage-example