ComfyUI > Nodes > ComfyUI-TagClassifier > LLM Tag Classifier

ComfyUI Node: LLM Tag Classifier

Class Name

LLMProcessingNode

Category
LLM Tag Classifier
Author
Wenaka2004 (Account age: 860days)
Extension
ComfyUI-TagClassifier
Latest Updated
2025-01-31
Github Stars
0.02K

How to Install ComfyUI-TagClassifier

Install this extension via the ComfyUI Manager by searching for ComfyUI-TagClassifier
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-TagClassifier in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

LLM Tag Classifier Description

Node processes LLM outputs, extracts structured info, categorizes content based on tags, including NSFW detection, character features.

LLM Tag Classifier:

The LLMProcessingNode, also known as the "LLM Tag Classifier," is designed to process outputs from a language model (LLM) and extract specific information in a structured format. This node is particularly useful for classifying and categorizing content based on predefined tags, which can include identifying whether content is not safe for work (NSFW), as well as extracting features related to character appearance and actions. By parsing JSON outputs from an LLM, the node efficiently organizes data into distinct categories, making it easier for users to analyze and utilize the information. This functionality is especially beneficial for AI artists and content creators who need to manage and interpret large volumes of text data, ensuring that they can focus on creative tasks while the node handles the technical aspects of data classification.

LLM Tag Classifier Input Parameters:

The context does not provide explicit input parameters for the LLMProcessingNode. However, it is implied that the node takes in a JSON-formatted string output from a language model. This input is crucial as it contains the data that the node will parse and classify into various categories.

LLM Tag Classifier Output Parameters:

is_nsfw

This output parameter indicates whether the content is classified as not safe for work (NSFW). It is a crucial tag for filtering and managing content that may not be suitable for all audiences.

head_features

This parameter provides details about the features of a character's head, such as hairstyle, accessories, or other distinguishing characteristics. It helps in identifying and categorizing visual elements related to the character's head.

action_expression

This output describes the actions and expressions of a character, capturing dynamic aspects such as gestures or facial expressions. It is useful for understanding the character's behavior and emotional state.

upper_body_features

This parameter outlines the features of a character's upper body, including clothing and accessories. It aids in the detailed classification of visual elements related to the character's torso and arms.

lower_body_features

This output details the features of a character's lower body, such as pants, skirts, or footwear. It is essential for a comprehensive understanding of the character's attire and style.

other

This parameter captures any additional information that does not fit into the predefined categories. It ensures that all relevant data is accounted for, even if it is not explicitly categorized.

nsfw

Similar to is_nsfw, this parameter provides an additional classification regarding the content's safety for work environments. It serves as a redundant check to ensure accurate content filtering.

LLM Tag Classifier Usage Tips:

  • Ensure that the input JSON string is correctly formatted and contains all necessary fields to avoid processing errors.
  • Use the node to automate the classification of large datasets, saving time and reducing manual effort in content analysis.

LLM Tag Classifier Common Errors and Solutions:

Error processing LLM output: <error_message>

  • Explanation: This error occurs when the node encounters an issue while parsing the JSON output from the LLM, possibly due to incorrect formatting or missing fields.
  • Solution: Verify that the input JSON string is well-formed and includes all expected keys. Check for any syntax errors or missing data that could disrupt the parsing process.

LLM Tag Classifier Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-TagClassifier
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.