Nodes/Multimodal — LLM (Local-first: GGUF + Transformers)/Multimodal — Context schema builder (template → prompt)
ComfyUI Node

Multimodal — Context schema builder (template → prompt)

A ComfyUI node in llm/multimodal with 5 inputs and 2 outputs.

By theonetwoone·Created 4 months ago·Updated 4 months ago· 1
Multimodal — Context schema builder (template → prompt)
    • system_prompt_addition
    • prompt_wrapped
    schema_json_template{ "answer": "", "should_update_context": false, "context": "" }
    context_open_tag<context>
    context_close_tag</context>
    base_instructionsReturn ONLY JSON matching the template. If context needs updating, write the FULL updated context inside <context>...</context> (and also fill the context field).
    user_prompt
    Categoryllm/multimodal

    Inputs (5)

    NameTypeDefaultDescription
    schema_json_templateSTRING{ "answer": "", "should_update_context": false, "context": "" }
    context_open_tagSTRING<context>
    context_close_tagSTRING</context>
    base_instructionsSTRINGReturn ONLY JSON matching the template. If context needs updating, write the FULL updated context inside <context>...</context> (and also fill the context field).
    user_promptSTRING

    Outputs (2)

    NameTypeDescription
    system_prompt_additionSTRING
    prompt_wrappedSTRING