Nodes/ComfyUI Ollama Model Manager/Ollama Chat Completion
ComfyUI Node

Ollama Chat Completion

A ComfyUI node in Ollama with 8 inputs and 2 outputs.

By darth-veitcher·Created 9 months ago·Updated 9 months ago· 2
Ollama Chat Completion
  • client
  • history
  • options
  • image
  • response
  • history
model
prompt
system_prompt
formatnone
CategoryOllama

Inputs (8)

NameTypeDefaultDescription
clientOLLAMA_CLIENTOllama client connection from OllamaClient or OllamaModelSelector node
modelSTRINGModel name to use for generation (auto-populated from selector)
promptSTRINGUser prompt or question to send to the model
system_promptoptSTRINGSystem instructions to guide model behavior (optional)
historyoptOLLAMA_HISTORYConversation history from previous chat turns (optional)
optionsoptOLLAMA_OPTIONSGeneration parameters like temperature, seed, etc. (optional)
formatoptCOMBOnoneOutput format: 'none' for text, 'json' for structured JSON response
imageoptIMAGEImage input for vision models (optional)

Outputs (2)

NameTypeDescription
responseSTRING
historyOLLAMA_HISTORY