ComfyUI Node
Ollama Chat Completion
A ComfyUI node in Ollama with 8 inputs and 2 outputs.
Ollama Chat Completion
- client
- history
- options
- image
- response
- history
◄model►
◄prompt►
◄system_prompt►
◄formatnone►
CategoryOllama
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| client | OLLAMA_CLIENT | Ollama client connection from OllamaClient or OllamaModelSelector node | |
| model | STRING | Model name to use for generation (auto-populated from selector) | |
| prompt | STRING | User prompt or question to send to the model | |
| system_promptopt | STRING | System instructions to guide model behavior (optional) | |
| historyopt | OLLAMA_HISTORY | Conversation history from previous chat turns (optional) | |
| optionsopt | OLLAMA_OPTIONS | Generation parameters like temperature, seed, etc. (optional) | |
| formatopt | COMBO | none | Output format: 'none' for text, 'json' for structured JSON response |
| imageopt | IMAGE | Image input for vision models (optional) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| response | STRING | — |
| history | OLLAMA_HISTORY | — |