Nodes/Comfy DV Nodes/Chat Completion
ComfyUI Node

Chat Completion

A ComfyUI node in dv/ollama with 10 inputs and 3 outputs.

By darth-veitcher·Created 2 years ago·Updated 13 days ago· 2
Chat Completion
  • client
  • history
  • options
  • response
  • updated_history
  • model_name
model
prompt
system
timeout_secs300
structured_outputfalse
output_schema{"type": "object", "properties": {"output": {"type": "string"}}, "required": ["output"]}
max_retries2
Categorydv/ollama

Inputs (10)

NameTypeDefaultDescription
clientLLM_CLIENT
modelSTRING
promptSTRING
systemoptSTRING
historyoptOLLAMA_HISTORY
optionsoptOLLAMA_OPTIONS
timeout_secsoptINT30030–3600
structured_outputoptBOOLEANfalse
output_schemaoptSTRING{"type": "object", "properties": {"output": {"type": "string"}}, "required": ["output"]}
max_retriesoptINT20–5

Outputs (3)

NameTypeDescription
responseSTRING
updated_historyOLLAMA_HISTORY
model_nameSTRING