ComfyUI > Nodes > VLM_nodes > Get Keywords

ComfyUI Node: Get Keywords

Class Name

KeywordExtraction

Category
VLM Nodes/LLM
Author
gokayfem (Account age: 1058days)
Extension
VLM_nodes
Latest Updated
2024-06-02
Github Stars
0.28K

How to Install VLM_nodes

Install this extension via the ComfyUI Manager by searching for VLM_nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter VLM_nodes 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Get Keywords Description

Extract meaningful keywords from text using advanced AI model for SEO, content categorization, and metadata creation.

Get Keywords:

The KeywordExtraction node is designed to help you extract meaningful keywords from a given text prompt using an advanced AI model. This node leverages a sophisticated language model to analyze the input text and generate relevant keywords that can be used for various purposes, such as enhancing search engine optimization (SEO), improving content categorization, or aiding in the creation of metadata for digital assets. By adjusting the temperature parameter, you can control the creativity and variability of the generated keywords, making this node a versatile tool for both precise and creative keyword extraction tasks.

Get Keywords Input Parameters:

prompt

The prompt parameter is a string input that represents the text from which you want to extract keywords. This is the primary input for the node, and the quality and relevance of the extracted keywords will depend on the content of this prompt. The default value is an empty string, and it is a required input.

model

The model parameter allows you to specify the custom AI model to be used for keyword extraction. This parameter is crucial as it determines the underlying language model that will process the prompt and generate the keywords. The default value is an empty string, indicating that you need to provide a valid model for the node to function correctly.

temperature

The temperature parameter is a float value that controls the randomness and creativity of the keyword generation process. A lower temperature (closer to 0.01) will result in more deterministic and focused keywords, while a higher temperature (up to 1.0) will produce more diverse and creative keywords. The default value is 0.15, with a minimum of 0.01 and a maximum of 1.0, adjustable in steps of 0.01.

Get Keywords Output Parameters:

STRING

The output of the KeywordExtraction node is a string that contains the extracted keywords. These keywords are generated based on the input prompt and the specified model, and they are designed to be relevant and useful for various applications, such as SEO, content categorization, and metadata creation.

Get Keywords Usage Tips:

  • To achieve more focused and relevant keywords, use a lower temperature setting.
  • For more creative and diverse keyword suggestions, increase the temperature parameter.
  • Ensure that the input prompt is clear and specific to get the most accurate keyword extraction results.
  • Experiment with different models to find the one that best suits your needs for keyword extraction.

Get Keywords Common Errors and Solutions:

Model not specified

  • Explanation: The model parameter is empty or invalid.
  • Solution: Ensure that you provide a valid custom AI model in the model parameter.

Invalid temperature value

  • Explanation: The temperature parameter is set outside the allowed range (0.01 to 1.0).
  • Solution: Adjust the temperature parameter to be within the valid range of 0.01 to 1.0.

Empty prompt

  • Explanation: The prompt parameter is empty.
  • Solution: Provide a non-empty string as the prompt to enable keyword extraction.

JSON parsing error

  • Explanation: The response from the model could not be parsed as JSON.
  • Solution: Check the model's output format and ensure it is correctly formatted as JSON. If the issue persists, consider debugging the model's response or adjusting the system prompt.

Get Keywords Related Nodes

Go back to the extension to check out more related nodes.
VLM_nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.