Nodes/Sage Utils/Construct LLM Prompt
ComfyUI Node

Construct LLM Prompt

Construct a prompt for an LLM based on the provided image and prompt.

By arcum42·Created 2 years ago·Updated 24 days ago· 32
Construct LLM Prompt
    • prompt
    prompt
    extra_instructions
    adult_contentfalse
    avoid_euphemismsfalse
    avoid_flowery_languagefalse
    be_specificfalse
    erotic_imageryfalse
    exaggerate_qualityfalse
    exclude_sexualfalse
    exclude_watermarksfalse
    non_technicalfalse
    only_describe_key_elementsfalse
    only_output_descriptiontrue
    use_vulgar_languagefalse
    CategorySage Utils/LLM

    Inputs (14)

    NameTypeDefaultDescription
    promptCOMBOThe base prompt template to construct.
    extra_instructionsSTRINGAdditional instructions to append to the generated prompt.
    adult_contentBOOLEANfalseAdult Content
    avoid_euphemismsBOOLEANfalseAvoid Euphemisms
    avoid_flowery_languageBOOLEANfalseAvoid Flowery Language
    be_specificBOOLEANfalseBe Specific
    erotic_imageryBOOLEANfalseErotic Imagery
    exaggerate_qualityBOOLEANfalseExaggerate Image Quality
    exclude_sexualBOOLEANfalseExclude Sexual Content
    exclude_watermarksBOOLEANfalseExclude Watermarks
    non_technicalBOOLEANfalseNon-technical Terms
    only_describe_key_elementsBOOLEANfalseDescribe Key Elements Only
    only_output_descriptionBOOLEANtrueOnly Output Description
    use_vulgar_languageBOOLEANfalseUse Vulgar Slang and Profanity

    Outputs (1)

    NameTypeDescription
    promptSTRINGThe constructed LLM prompt.