ComfyUI Node
Apply Chat Template
A ComfyUI node in LLM with 7 inputs and 4 outputs.
Apply Chat Template
- image
- video
- audio
- extra_parameters
- image
- video
- audio
- formatted_prompt
◄system_promptYou are a helpful assistant.►
◄user_prompt—►
◄chat_template—►
CategoryLLM
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| system_prompt | STRING | You are a helpful assistant. | — |
| user_prompt | STRING | — | |
| chat_template | STRING | Put chat template here. Can be found in original repo of model in huggingface. | |
| imageopt | IMAGE | — | |
| videoopt | IMAGE | Video frames as image batch. | |
| audioopt | AUDIO | — | |
| extra_parametersopt | EXTRA_PARAMETERS | The extra parameters for the LLM model. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| video | IMAGE | — |
| audio | AUDIO | — |
| formatted_prompt | STRING | — |